Skip to content

StrongerXi/soc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOC

A Subset of OCaml Compiler.

The end goal is to compile all the OCaml portion of the codebase (excluding some primitive functions, which will be written as part of the runtime in C).

Why

From my experience, most students can build a compiler for some small language, sometimes with type-checking, classes, lambdas, or even a rudimentary runtime.

However, there still exists a huge gap between such "toy compilers" and production compiler, such as OCaml's.

I think a self-compiling compiler would help bridge that gap, and significantly help one understand a language.

As to why OCaml? I just love this language:).

About

Compiler for a subset of OCaml

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages