Commit Graph

217 Commits

Author SHA1 Message Date
1e22630d14 return nodetable from typecheck 2021-01-21 22:51:20 +01:00
c28ed1ac32 fix a = a / a = b assignment bug 2021-01-21 22:51:02 +01:00
498b903800 remove 1 test 2021-01-21 19:03:11 +01:00
b703ae2b31 add unary codegen for +, - 2021-01-21 19:03:04 +01:00
8fe5659f21 fix bug with unary precedence 2021-01-21 19:02:48 +01:00
19a30632d4 add some codegen tests 2021-01-21 18:20:47 +01:00
f9eb73630f make codegen completely static 2021-01-21 18:20:32 +01:00
049f2529d4 ignore 2021-01-18 17:55:23 +01:00
c93589bd3f ignore 2021-01-18 17:55:04 +01:00
a7d6e7bec3 add println codegen + addition codegen + fix return missing 2021-01-17 21:56:13 +01:00
1718d647a7 use codegen + jasmin when compiling 2021-01-17 17:59:09 +01:00
805f63893f first simple unfinished code generator 2021-01-17 17:58:51 +01:00
daa8da71ca test class 2021-01-17 17:58:36 +01:00
ad37601afc slight refactor for map 2021-01-17 17:57:39 +01:00
5a384af948 new test program 2021-01-17 17:57:26 +01:00
aa48550b3c update 2021-01-17 17:57:10 +01:00
22702c97e0 slight cleanup 2020-12-16 15:20:10 +01:00
63424cec36 new test 2020-12-16 15:12:03 +01:00
f621430f26 remove unused 2020-12-16 15:07:00 +01:00
c5aee78b7b new tests 2020-12-16 14:55:52 +01:00
938d2a6afe add test coverage plugin 2020-12-16 14:55:38 +01:00
e08cbcb15a slight formatting changes 2020-12-15 20:03:11 +01:00
3c17220ef1 slight formatting changes 2020-12-15 19:57:21 +01:00
1333f24d03 add grammar for main prog 2020-12-15 18:02:38 +01:00
200924e1d3 fix test bugs 2020-12-15 17:57:11 +01:00
2c1a714e10 remove demo "test" 2020-12-15 17:54:08 +01:00
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