Commit Graph

53 Commits

Author SHA1 Message Date
33761016d5 grammar update + complete compacter overhaul with new grammar actions 2020-12-15 16:22:48 +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
29def0a645 fix identifiermovement bug 2020-12-14 17:29:23 +01:00
2ef7cefedc status messages + better error messages 2020-12-14 16:04:33 +01:00
b9086e2bb2 add line info to astnodes 2020-12-14 16:03:41 +01:00
bf6e2256d8 fix operator-precedence 2020-12-14 15:04:52 +01:00
63903f6955 rename 2020-12-14 15:04:32 +01:00
ba624cf4a0 renamings 2020-12-13 15:03:28 +01:00
ed99c71d44 renamings 2020-12-13 15:01:55 +01:00
2712318654 add preprocess to ast 2020-12-13 14:48:04 +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
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
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
d5cd6cbfd3 print syntaxfehler 2020-12-11 19:17:51 +01:00
0f749106eb add ast renaming 2020-12-11 18:34:19 +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
e6723f4112 Actions enum 2020-12-11 17:37:55 +01:00
f54dc717e7 update actions, add nullable 2020-12-11 17:29:18 +01:00
d06d535bcd refactor action parsing 2020-12-11 16:01:40 +01:00
8a310e6c41 grammar fix bug where rightside wasnt split for actions 2020-12-11 14:10:58 +01:00
6dc278d4d4 catch wrong actions 2020-12-11 14:00:28 +01:00
c7b3e7806e distinguish between different rightsides for actions 2020-12-11 13:46:37 +01:00
79e9fb6094 make action syntax optional 2020-12-11 13:40:21 +01:00
ec5e243e22 parser returns tree 2020-12-11 13:35:06 +01:00
e8d88dda40 parse semantic actions 2020-12-11 13:34:31 +01:00
5197ca011d parser sets values in nodes 2020-12-10 19:16:44 +01:00
c1df906b10 slight logging change 2020-12-10 19:16:16 +01:00
6229e9a0f8 fix grammar parsing bug 2020-12-10 19:16:07 +01:00
96f2013701 better exception for parsing 2020-12-08 00:56:48 +01:00
6c3d9f7e4f improved table printing 2020-12-07 23:34:22 +01:00
ea4cf84c41 use logger for logging + fix bug in stringFirst 2020-12-07 23:33:28 +01:00
509031ab31 improve grammar parsing 2020-12-07 20:57:26 +01:00
cec76298e8 reimplement first + follow + testing 2020-12-06 02:07:00 +01:00
7764b6cdf6 update + fixes for parser 2020-12-04 18:30:24 +01:00
1652d17528 ll1parser new facctory method 2020-12-04 14:30:08 +01:00
86ba647784 grammarrule comparison add 2020-12-04 14:29:57 +01:00
f29a44fc88 implement simple grammar parsing from correct file 2020-12-04 14:29:43 +01:00
1b0dd064d7 adapt implementation to use grammar wrapper 2020-12-04 13:22:54 +01:00
1ae77b2e51 implement grammar and grammarrule 2020-12-04 13:22:33 +01:00
2c4b95c438 implement grammaranalyzer 2020-12-04 01:21:21 +01:00