- Implement
From<String>
forIdentifier
.
- Add lexer tests for logical and relational operators.
- Make documentations tests pass.
- Fix errors when compiling expressions containing nested unary operators. (
~(-(3))
) - Correctly parse
playground/test_expression4.c
.
- Add comments to assembly code.
- Implement visitor patter to carry register allocation, instruction modification, etc.
- Modify CLI arguments to implement compiler passes on various levels.
- Design a better test suite to check correctness of assembly generation for nested binary operators.
- Write a test for
playground/test_add_mul.c
and make it pass.
- Implement End-to-end test suite that check correctness of the
gcc
compiler output. - Make
quick_compile
work ontest_logical2.c
.
- Modify tokens to carry line number and column.