Commit Graph
94 Commits
Author SHA1 Message Date
ChUrl 4d411a3473 test + exception 2020-12-11 17:38:31 +01:00
ChUrl ca9ce5dd45 implement ast compactor v1 2020-12-11 17:38:23 +01:00
ChUrl e6723f4112 Actions enum 2020-12-11 17:37:55 +01:00
ChUrl 88aeacad35 add size() 2020-12-11 17:29:28 +01:00
ChUrl f54dc717e7 update actions, add nullable 2020-12-11 17:29:18 +01:00
ChUrl 2277f6b165 getValue 2020-12-11 16:01:48 +01:00
ChUrl d06d535bcd refactor action parsing 2020-12-11 16:01:40 +01:00
ChUrl 8a310e6c41 grammar fix bug where rightside wasnt split for actions 2020-12-11 14:10:58 +01:00
ChUrl 6dc278d4d4 catch wrong actions 2020-12-11 14:00:28 +01:00
ChUrl c7b3e7806e distinguish between different rightsides for actions 2020-12-11 13:46:37 +01:00
ChUrl 79e9fb6094 make action syntax optional 2020-12-11 13:40:21 +01:00
ChUrl ec5e243e22 parser returns tree 2020-12-11 13:35:06 +01:00
ChUrl 5f88a56d53 hashcode 2020-12-11 13:34:47 +01:00
ChUrl e8d88dda40 parse semantic actions 2020-12-11 13:34:31 +01:00
Christoph 5197ca011d parser sets values in nodes 2020-12-10 19:16:44 +01:00
Christoph 9a960d4cf7 add value to ast node 2020-12-10 19:16:35 +01:00
Christoph c1df906b10 slight logging change 2020-12-10 19:16:16 +01:00
Christoph 6229e9a0f8 fix grammar parsing bug 2020-12-10 19:16:07 +01:00
Christoph 7af7fb26a7 regen lexer 2020-12-10 19:15:53 +01:00
ChUrl 6e1cdbc86c lexer regen 2020-12-08 00:57:06 +01:00
ChUrl 9fe887a52b logger update 2020-12-08 00:56:56 +01:00
ChUrl 96f2013701 better exception for parsing 2020-12-08 00:56:48 +01:00
ChUrl cafa6f3981 update lexer 2020-12-07 23:34:31 +01:00
ChUrl 6c3d9f7e4f improved table printing 2020-12-07 23:34:22 +01:00
ChUrl ea4cf84c41 use logger for logging + fix bug in stringFirst 2020-12-07 23:33:28 +01:00
ChUrl aba8a51db2 introduce simple logger 2020-12-07 23:32:33 +01:00
ChUrl 509031ab31 improve grammar parsing 2020-12-07 20:57:26 +01:00
Christoph cec76298e8 reimplement first + follow + testing 2020-12-06 02:07:00 +01:00
Christoph 7764b6cdf6 update + fixes for parser 2020-12-04 18:30:24 +01:00
Christoph 1652d17528 ll1parser new facctory method 2020-12-04 14:30:08 +01:00
Christoph 86ba647784 grammarrule comparison add 2020-12-04 14:29:57 +01:00
Christoph f29a44fc88 implement simple grammar parsing from correct file 2020-12-04 14:29:43 +01:00
Christoph 1b0dd064d7 adapt implementation to use grammar wrapper 2020-12-04 13:22:54 +01:00
Christoph 1ae77b2e51 implement grammar and grammarrule 2020-12-04 13:22:33 +01:00
Christoph 27862eb75c update 2020-12-04 01:27:30 +01:00
ChUrl 38929e674a lexer regen 2020-12-04 01:24:59 +01:00
ChUrl 2c4b95c438 implement grammaranalyzer 2020-12-04 01:21:21 +01:00
ChUrl 11a1591b9b grammaranalyzer template 2020-12-03 20:05:51 +01:00
ChUrl 88aec490ed add generated lexer 2020-12-03 19:59:03 +01:00
ChUrl cb38b10226 implement basic ast generation in parser 2020-12-01 17:30:32 +01:00
ChUrl 4b92a39a89 implement initial basic ast 2020-12-01 17:29:38 +01:00
ChUrl f3b9b5ecf5 implement ll1-nonrecursive-descent-parser 2020-12-01 16:13:45 +01:00
ChUrl eb8e57f872 add dfa viewutil from blatt2 2020-12-01 15:02:54 +01:00
ChUrl 411e5257a1 implement dfa 2020-12-01 15:02:29 +01:00