Super simple programming language and tiny compiler developed for educational purpose in Scala
Coding4fun, just trying to simplify how compilers work for who has interest
Compilers(mostly) have 3 primary stages;
Parsing
- Lexical Analysis
- Syntactic Analysis
Transformation
Make some changes on AST
Code Generation
Create code from AST
/----------\ /-----------------\ /-----------------\
/------\ | | | | | |
| Raw |____ | Parsing |_____ | Transformation |______ | Code Generation |
| Code | | | | | | |
\------/ \----------/ \-----------------/ \-----------------/
//TODO:
TODO: