All Projects → maierfelix → toy-compiler

maierfelix / toy-compiler

Licence: other
A tiny self-hosted compiler

Programming Languages

javascript
184084 projects - #8 most used programming language

This is a tiny compiler, which is able to compile itself.

  • bin/stub contains the latest generated version (and compiles src/index)
  • src/index contains the compiler, written in minimal "javascript" to be flexible enough for later feature and syntax changes

Bootstrapping:

edit "src/index"
run "node build"
have fun with "bin/stub"

Todo:

  • Sandbox types
  • Type system
  • Precedence based expression parsing
  • More compiling targets e.g. java, python, c#
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].