Skip to content

In-progress compiler for a subset of C, based on Nora Sandler's "Writing a C Compiler".

Notifications You must be signed in to change notification settings

0adb/cynophobia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cynophobia: a compiler for a subset of C17

The design and implementation of this compiler will be based on Nora Sandler's book "Writing a C Compiler".

Setup details

To build this repo from source, you'll need:

  • CMake 3.14+
  • A C++11 compatible compiler
  • Git

To configure CMake, run:

cmake -S . -B build

To build the project after configuration, run:

cmake --build build

To run the current test file (after build):

cd tests
./cynotester

Status

The last working commit has passed tests written by Sandler for Chapter 1's lexing stage, available at this repository.

About

In-progress compiler for a subset of C, based on Nora Sandler's "Writing a C Compiler".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published