Skip to content

Compiler for the C syntax described by the dragon book (Compilers: Principles, Techniques, and Tools), written in OCaml

Notifications You must be signed in to change notification settings

SerenaLynas/dragon-book-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiler for the Dragon Book

This is a compiler for the C subset given by the dragon book.

Prereqs

Install OCaml and dune.

Run

Run the project like so:

dune exec main -- ./validate/TestSuites2/textbook.txt

Build

dune build

The executable is located at _build/default/bin/main.exe.

About

Compiler for the C syntax described by the dragon book (Compilers: Principles, Techniques, and Tools), written in OCaml

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published