/lc

An academic compiler for a simple C & Pascal inspired language

Primary LanguageC++GNU Affero General Public License v3.0AGPL-3.0

lc

This compiler was built for our 'Compilers' class.

It is for a simple language based on C and Pascal named L.

The language documentation is in the docs/ directory.

It compiles from source to a subset of i386 assembly for MS-DOS. The generated code file must be assembled before it can be run.

The x64 branch contains a port to codegen for Linux x64.