- 11 Dec, 2020 2 commits
- 10 Dec, 2020 2 commits
- 05 Dec, 2020 1 commit
-
-
gyuri authored
-
- 29 Nov, 2020 2 commits
- 28 Nov, 2020 1 commit
-
-
gyuri authored
-
- 21 Nov, 2020 3 commits
- 20 Nov, 2020 1 commit
-
-
gyuri authored
-
- 16 Nov, 2020 1 commit
-
-
gyuri authored
-
- 15 Nov, 2020 2 commits
- 14 Nov, 2020 2 commits
- 07 Nov, 2020 1 commit
-
-
gyuri authored
-
- 05 Nov, 2020 3 commits
- 02 Nov, 2020 1 commit
-
-
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
-
- 24 Oct, 2020 1 commit
-
-
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.
-
- 19 Oct, 2020 1 commit
-
-
György Kurucz authored
-