This is a compiler written in C for a very basic custom laguage that is translated to custom gSPU assembly (release-1.0) or to x86_64 bytecode (release-1.1).
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_BUILD_TYPE=Release
$ make
For full stack debug capabilities add FULL_DEBUG
flag
Usage: -h : show this help
-i FileName : input from file
-o FileName : output to file
- Lexer
- Recursive descent parser to expression tree
- Basic optimizations
- Translation to gAsm
- CMake config with fetching all hand-made dependencies by release tag
- Basic examples in glang
- Translation to x84_64 bytecode.
- Convert gSPU to double
- Implement basic memory management