241 Commits

Author SHA1 Message Date
908a9e4652 add typechecker tests 2020-12-15 17:53:14 +01:00
5390856fd8 refactor tests 2020-12-15 17:53:02 +01:00
0e7364cf1d fix typechecker equals bug 2020-12-15 17:52:43 +01:00
4721f80f9c make stuff final 2020-12-15 16:58:52 +01:00
1738771d1d use unmodifiable collection views 2020-12-15 16:57:09 +01:00
774f0f45f2 fix compactertest after rework 2020-12-15 16:29:47 +01:00
4f45a57294 rework grammar to use new actions + distinguish between term, nterm 2020-12-15 16:24:30 +01:00
d86eaa9b9d update 2020-12-15 16:24:08 +01:00
71c9348a3c grammar update 2020-12-15 16:24:01 +01:00
921d735e69 grammar update 2020-12-15 16:23:38 +01:00
e6f2774ed4 grammar update + parsing of new grammar actions + new checks for actions 2020-12-15 16:23:25 +01:00
33761016d5 grammar update + complete compacter overhaul with new grammar actions 2020-12-15 16:22:48 +01:00
d0271cb72e grammar update 2020-12-15 16:22:25 +01:00
09ff65fd95 logging + grammar update 2020-12-15 16:22:12 +01:00
643a1c0e51 implement ast deepcopy 2020-12-15 16:21:40 +01:00
b606ba5593 renam + add actions 2020-12-15 16:21:26 +01:00
ce92dcad6e formatting change 2020-12-14 18:17:48 +01:00
de88d650d3 support abs paths 2020-12-14 18:02:06 +01:00
8ff6ffd637 some main program changes 2020-12-14 17:30:00 +01:00
4132551f0e updates 2020-12-14 17:29:50 +01:00
29def0a645 fix identifiermovement bug 2020-12-14 17:29:23 +01:00
d0d0426345 fix typechecking bug where identifiers weren't used 2020-12-14 16:33:00 +01:00
fc9cade682 status messages + better error messages 2020-12-14 16:06:37 +01:00
2ef7cefedc status messages + better error messages 2020-12-14 16:04:33 +01:00
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