Simple programing language written in C++ with speed in mind
Currently the compiler is in its toy stage - some essential features are missing, such as assignment and boolean operations. This is done, because at this stage they are essentially trivial to implement. Some of the supported features include type-checking(integers, booleans and void), function-calling, recursion and external(wrapped in lib.asm and linked with libc) functions.
It is trivial to add new unit-tests, which serve a second purpose as examples:
cp to_test.lf unit_tests/input/to_test.lf
./test.sh
- Add reference types
- Rawptr
- Arrays as malloc/free calls
- Templated functions
- Structured types
- Templated structures