Commit Graph

217 Commits

Author SHA1 Message Date
1987e6532d update 2020-12-14 16:04:10 +01:00
f2f10772b2 add line info to astnodes 2020-12-14 16:03:55 +01:00
b9086e2bb2 add line info to astnodes 2020-12-14 16:03:41 +01:00
50cb660c4c update 2020-12-14 15:11:05 +01:00
1991255ee6 implement type checker 2020-12-14 15:05:54 +01:00
3ef2199910 exception 2020-12-14 15:05:32 +01:00
af73c718af rename 2020-12-14 15:05:23 +01:00
88e88c035d add argument-type table 2020-12-14 15:05:15 +01:00
bf6e2256d8 fix operator-precedence 2020-12-14 15:04:52 +01:00
63903f6955 rename 2020-12-14 15:04:32 +01:00
be2d56f7b2 new exceptions 2020-12-14 15:04:23 +01:00
ba624cf4a0 renamings 2020-12-13 15:03:28 +01:00
8e7292ea3e begin typechecker + rename 2020-12-13 15:02:08 +01:00
ed99c71d44 renamings 2020-12-13 15:01:55 +01:00
e56e1abc46 updates 2020-12-13 14:49:35 +01:00
c84825e62b add empty typechecker 2020-12-13 14:49:24 +01:00
b05c227e4f implement wrongtypeexception 2020-12-13 14:49:13 +01:00
1adfc5246b new test + testprograms 2020-12-13 14:49:02 +01:00
36241a2699 implement symboltable 2020-12-13 14:48:51 +01:00
d949a7fa8b updates 2020-12-13 14:48:20 +01:00
2712318654 add preprocess to ast 2020-12-13 14:48:04 +01:00
4f3955cb41 fix test 2020-12-13 14:47:53 +01:00
8909ff0e63 renamings 2020-12-13 14:47:46 +01:00
9aafbb3095 implement operator precedence + test 2020-12-13 14:05:26 +01:00
290f1fe240 update tests 2020-12-12 17:35:33 +01:00
62706c538d fix grammar compacting bug 2020-12-12 17:35:23 +01:00
b083702030 fix logging of nullable strings 2020-12-12 17:35:12 +01:00
0783531711 add function to remove junk 2020-12-12 17:34:48 +01:00
9d998d625d fix bug where rotations were missing 2020-12-12 17:34:30 +01:00
16315e288a start implementing expression balancer 2020-12-12 16:04:49 +01:00
8bdcd0f7d7 update grammar 2020-12-12 16:04:30 +01:00
1eac9e494a update grammar 2020-12-12 16:04:20 +01:00
98fcd9930c updates 2020-12-12 16:02:57 +01:00
a14f15618d slight restructure 2020-12-12 16:02:23 +01:00
f9dcebc82a remove dfa 2020-12-12 16:02:04 +01:00
232b631744 add grammar to main program + test program 2020-12-11 19:18:14 +01:00
aad60a0a23 add main class 2020-12-11 19:17:59 +01:00
d5cd6cbfd3 print syntaxfehler 2020-12-11 19:17:51 +01:00
0f749106eb add ast renaming 2020-12-11 18:34:19 +01:00
50a57387cc add test to try things out 2020-12-11 18:34:04 +01:00
374b994b29 add main class 2020-12-11 18:33:50 +01:00
4d411a3473 test + exception 2020-12-11 17:38:31 +01:00
ca9ce5dd45 implement ast compactor v1 2020-12-11 17:38:23 +01:00
1c62dbdfa5 new test program 2020-12-11 17:38:11 +01:00
e6723f4112 Actions enum 2020-12-11 17:37:55 +01:00
95709d3f59 update grammar with actions 2020-12-11 17:37:39 +01:00
88aeacad35 add size() 2020-12-11 17:29:28 +01:00
f54dc717e7 update actions, add nullable 2020-12-11 17:29:18 +01:00
2277f6b165 getValue 2020-12-11 16:01:48 +01:00
d06d535bcd refactor action parsing 2020-12-11 16:01:40 +01:00