0.2.3 Mar 27, 2022
0.2.2 Mar 6, 2022
0.2.1 Mar 5, 2022
0.2.0 Mar 5, 2022

#98 in #markup-language

MIT license

115KB
3K SLoC

Fejix compiler

Homepage Compiler version Fejix version

In progress... 🤓

For now, there is nothing really to see. But make sure to check out this page tomorrow!

Specifications

TODO

  • Compiler
  • GUI analyzer
  • Code generator
  • Modularity
  • Box constraints
  • Code blocks
  • Functions
  • Shortcuts (short constructors)?

Compilation process

Builder:

Input: source code string

  1. Tokenizer -> list of tokens
  2. Parser -> abstract syntax tree
  3. Compiler -> object representation of code
  4. Analyzer -> useful data for the code generator
  5. Code generator -> generates C/whatever

Dependencies

~4–15MB
~146K SLoC