Commit graph

19 commits

Author SHA1 Message Date
Clemens-Dautermann
92a2235437 removed .idea 2020-12-18 10:22:00 +01:00
Clemens-Dautermann
6e1307c883 Most likely fixed the precedence issue 2020-12-18 00:07:23 +01:00
Clemens-Dautermann
1a95fc2371 Lots of comments and cleanup 2020-12-17 21:36:39 +01:00
Clemens-Dautermann
120a575b15 implemented assembly for addition, substraction and multiplication. Division is not working yet 2020-08-24 12:33:45 +02:00
Clemens-Dautermann
66417bb16e check if invalid examples raise correct error 2020-08-23 18:31:38 +02:00
Clemens-Dautermann
17e2f0e9e3 comments for parser 2020-08-23 18:30:00 +02:00
Clemens-Dautermann
5ec5c64775 broken shitty code 2020-08-23 00:54:58 +02:00
Clemens-Dautermann
e6b20b5aa9 code generations for unary operators 2020-08-21 00:18:21 +02:00
Clemens-Dautermann
07079366b8 corrected implementation of unary operators 2020-08-20 22:37:30 +02:00
Clemens-Dautermann
202c1d2ca2 lexing and parsing unary operators 2020-08-20 17:11:43 +02:00
Clemens-Dautermann
b2c2a2f497 corrected project to work with test_compiler.sh 2020-08-19 23:29:07 +02:00
Clemens-Dautermann
26d10cfef0 Code generation and output file gen 2020-08-19 22:55:28 +02:00
Clemens-Dautermann
3ea0178678 switched two statements 2020-08-17 23:38:24 +02:00
Clemens-Dautermann
9eb90686bb Pretty printing 2020-08-17 23:34:10 +02:00
Clemens-Dautermann
69782dd2fa Removed unused NullToken 2020-08-17 23:29:54 +02:00
Clemens-Dautermann
d0c844972d Error Fixes
- Lexer discarding all newlines (now replaces it with spaces)
- Cleanup of Type check and remove function in parser
- Cleanup in Compiler.cs
2020-08-17 23:26:53 +02:00
Clemens-Dautermann
1099f260d7 added check before removing trailing { or ; 2020-08-17 01:33:38 +02:00
Clemens-Dautermann
b3fe78fffb Added Parser
- can parse a basic token list to an AST
2020-08-17 01:07:59 +02:00
Clemens-Dautermann
ea26acce4a Implemented lexer 2020-08-15 23:36:29 +02:00