1. 11 Dec, 2020 2 commits
  2. 10 Dec, 2020 2 commits
  3. 05 Dec, 2020 1 commit
  4. 29 Nov, 2020 2 commits
  5. 28 Nov, 2020 1 commit
  6. 21 Nov, 2020 3 commits
  7. 20 Nov, 2020 1 commit
  8. 16 Nov, 2020 1 commit
  9. 15 Nov, 2020 2 commits
  10. 14 Nov, 2020 2 commits
  11. 07 Nov, 2020 1 commit
  12. 05 Nov, 2020 3 commits
  13. 02 Nov, 2020 1 commit
    • gyuri's avatar
      Add a very simple code generator. · 14e730b9
      gyuri authored
      Currently we generate assembly that can be compiled using nasm.
      
      Implemented language features so far:
      - Pre increment/decrement operators
      - Address-of and dereference operators
      - Binary not operator
      - Addition, subtraction operators
      - Less-than operator
      - Assignment operator
      - Integer, character, and string literals
      - Calling a few C library functions
      - Integer variable, and pointer declarations
      - While loop, if statement
      14e730b9
  14. 24 Oct, 2020 1 commit
    • gyuri's avatar
      Add lexing and parsing. · 29fae26d
      gyuri authored
      It is still far from perfect. The .y file has been written based on
      Annex A of the standard, so it should contain most syntactical elements.
      Currently we only construct the AST from a single compound statement.
      We have also implemented a debug print function for the AST, that should
      output (mostly) valid C code.
      29fae26d
  15. 19 Oct, 2020 1 commit