Commit Graph

  • 908a9e4652 add typechecker tests ChUrl 2020-12-15 17:53:14 +01:00
  • 5390856fd8 refactor tests ChUrl 2020-12-15 17:53:02 +01:00
  • 0e7364cf1d fix typechecker equals bug ChUrl 2020-12-15 17:52:43 +01:00
  • 4721f80f9c make stuff final ChUrl 2020-12-15 16:58:52 +01:00
  • 1738771d1d use unmodifiable collection views ChUrl 2020-12-15 16:57:09 +01:00
  • 774f0f45f2 fix compactertest after rework ChUrl 2020-12-15 16:29:47 +01:00
  • 4f45a57294 rework grammar to use new actions + distinguish between term, nterm ChUrl 2020-12-15 16:24:30 +01:00
  • d86eaa9b9d update ChUrl 2020-12-15 16:24:08 +01:00
  • 71c9348a3c grammar update ChUrl 2020-12-15 16:24:01 +01:00
  • 921d735e69 grammar update ChUrl 2020-12-15 16:23:38 +01:00
  • e6f2774ed4 grammar update + parsing of new grammar actions + new checks for actions ChUrl 2020-12-15 16:23:25 +01:00
  • 33761016d5 grammar update + complete compacter overhaul with new grammar actions ChUrl 2020-12-15 16:22:48 +01:00
  • d0271cb72e grammar update ChUrl 2020-12-15 16:22:25 +01:00
  • 09ff65fd95 logging + grammar update ChUrl 2020-12-15 16:22:12 +01:00
  • 643a1c0e51 implement ast deepcopy ChUrl 2020-12-15 16:21:40 +01:00
  • b606ba5593 renam + add actions ChUrl 2020-12-15 16:21:26 +01:00
  • ce92dcad6e formatting change ChUrl 2020-12-14 18:17:48 +01:00
  • de88d650d3 support abs paths ChUrl 2020-12-14 18:02:06 +01:00
  • 8ff6ffd637 some main program changes ChUrl 2020-12-14 17:30:00 +01:00
  • 4132551f0e updates ChUrl 2020-12-14 17:29:50 +01:00
  • 29def0a645 fix identifiermovement bug ChUrl 2020-12-14 17:29:23 +01:00
  • d0d0426345 fix typechecking bug where identifiers weren't used ChUrl 2020-12-14 16:33:00 +01:00
  • fc9cade682 status messages + better error messages ChUrl 2020-12-14 16:06:37 +01:00
  • 2ef7cefedc status messages + better error messages ChUrl 2020-12-14 16:04:33 +01:00
  • 1987e6532d update ChUrl 2020-12-14 16:04:10 +01:00
  • f2f10772b2 add line info to astnodes ChUrl 2020-12-14 16:03:55 +01:00
  • b9086e2bb2 add line info to astnodes ChUrl 2020-12-14 16:03:41 +01:00
  • 50cb660c4c update ChUrl 2020-12-14 15:11:05 +01:00
  • 1991255ee6 implement type checker ChUrl 2020-12-14 15:05:54 +01:00
  • 3ef2199910 exception ChUrl 2020-12-14 15:05:32 +01:00
  • af73c718af rename ChUrl 2020-12-14 15:05:23 +01:00
  • 88e88c035d add argument-type table ChUrl 2020-12-14 15:05:15 +01:00
  • bf6e2256d8 fix operator-precedence ChUrl 2020-12-14 15:04:52 +01:00
  • 63903f6955 rename ChUrl 2020-12-14 15:04:32 +01:00
  • be2d56f7b2 new exceptions ChUrl 2020-12-14 15:04:23 +01:00
  • ba624cf4a0 renamings ChUrl 2020-12-13 15:03:28 +01:00
  • 8e7292ea3e begin typechecker + rename ChUrl 2020-12-13 15:02:08 +01:00
  • ed99c71d44 renamings ChUrl 2020-12-13 15:01:55 +01:00
  • e56e1abc46 updates ChUrl 2020-12-13 14:49:35 +01:00
  • c84825e62b add empty typechecker ChUrl 2020-12-13 14:49:24 +01:00
  • b05c227e4f implement wrongtypeexception ChUrl 2020-12-13 14:49:13 +01:00
  • 1adfc5246b new test + testprograms ChUrl 2020-12-13 14:49:02 +01:00
  • 36241a2699 implement symboltable ChUrl 2020-12-13 14:48:51 +01:00
  • d949a7fa8b updates ChUrl 2020-12-13 14:48:20 +01:00
  • 2712318654 add preprocess to ast ChUrl 2020-12-13 14:48:04 +01:00
  • 4f3955cb41 fix test ChUrl 2020-12-13 14:47:53 +01:00
  • 8909ff0e63 renamings ChUrl 2020-12-13 14:47:46 +01:00
  • 9aafbb3095 implement operator precedence + test ChUrl 2020-12-13 14:05:26 +01:00
  • 290f1fe240 update tests ChUrl 2020-12-12 17:35:33 +01:00
  • 62706c538d fix grammar compacting bug ChUrl 2020-12-12 17:35:23 +01:00
  • b083702030 fix logging of nullable strings ChUrl 2020-12-12 17:35:12 +01:00
  • 0783531711 add function to remove junk ChUrl 2020-12-12 17:34:48 +01:00
  • 9d998d625d fix bug where rotations were missing ChUrl 2020-12-12 17:34:30 +01:00
  • 16315e288a start implementing expression balancer ChUrl 2020-12-12 16:04:49 +01:00
  • 8bdcd0f7d7 update grammar ChUrl 2020-12-12 16:04:30 +01:00
  • 1eac9e494a update grammar ChUrl 2020-12-12 16:04:20 +01:00
  • 98fcd9930c updates ChUrl 2020-12-12 16:02:57 +01:00
  • a14f15618d slight restructure ChUrl 2020-12-12 16:02:23 +01:00
  • f9dcebc82a remove dfa ChUrl 2020-12-12 16:02:04 +01:00
  • 232b631744 add grammar to main program + test program ChUrl 2020-12-11 19:18:14 +01:00
  • aad60a0a23 add main class ChUrl 2020-12-11 19:17:59 +01:00
  • d5cd6cbfd3 print syntaxfehler ChUrl 2020-12-11 19:17:51 +01:00
  • 0f749106eb add ast renaming ChUrl 2020-12-11 18:34:19 +01:00
  • 50a57387cc add test to try things out ChUrl 2020-12-11 18:34:04 +01:00
  • 374b994b29 add main class ChUrl 2020-12-11 18:33:50 +01:00
  • 4d411a3473 test + exception ChUrl 2020-12-11 17:38:31 +01:00
  • ca9ce5dd45 implement ast compactor v1 ChUrl 2020-12-11 17:38:23 +01:00
  • 1c62dbdfa5 new test program ChUrl 2020-12-11 17:38:11 +01:00
  • e6723f4112 Actions enum ChUrl 2020-12-11 17:37:55 +01:00
  • 95709d3f59 update grammar with actions ChUrl 2020-12-11 17:37:39 +01:00
  • 88aeacad35 add size() ChUrl 2020-12-11 17:29:28 +01:00
  • f54dc717e7 update actions, add nullable ChUrl 2020-12-11 17:29:18 +01:00
  • 2277f6b165 getValue ChUrl 2020-12-11 16:01:48 +01:00
  • d06d535bcd refactor action parsing ChUrl 2020-12-11 16:01:40 +01:00
  • 8a310e6c41 grammar fix bug where rightside wasnt split for actions ChUrl 2020-12-11 14:10:58 +01:00
  • 6dc278d4d4 catch wrong actions ChUrl 2020-12-11 14:00:28 +01:00
  • c7b3e7806e distinguish between different rightsides for actions ChUrl 2020-12-11 13:46:37 +01:00
  • 79e9fb6094 make action syntax optional ChUrl 2020-12-11 13:40:21 +01:00
  • ec5e243e22 parser returns tree ChUrl 2020-12-11 13:35:06 +01:00
  • 5f88a56d53 hashcode ChUrl 2020-12-11 13:34:47 +01:00
  • e8d88dda40 parse semantic actions ChUrl 2020-12-11 13:34:31 +01:00
  • 66e672d142 update tests, disable old parser tests bc not token-based Christoph 2020-12-10 19:17:54 +01:00
  • 336a94d8a3 update grammar to accept entire? language? Christoph 2020-12-10 19:17:26 +01:00
  • 4683924b46 new example progs Christoph 2020-12-10 19:17:06 +01:00
  • 5197ca011d parser sets values in nodes Christoph 2020-12-10 19:16:44 +01:00
  • 9a960d4cf7 add value to ast node Christoph 2020-12-10 19:16:35 +01:00
  • c1df906b10 slight logging change Christoph 2020-12-10 19:16:16 +01:00
  • 6229e9a0f8 fix grammar parsing bug Christoph 2020-12-10 19:16:07 +01:00
  • 7af7fb26a7 regen lexer Christoph 2020-12-10 19:15:53 +01:00
  • c18b912d2c update lexer grammar Christoph 2020-12-10 19:15:44 +01:00
  • edfb3bf7e3 update env Christoph 2020-12-10 19:15:34 +01:00
  • 7a746902f9 new tests ChUrl 2020-12-08 00:57:18 +01:00
  • 6e1cdbc86c lexer regen ChUrl 2020-12-08 00:57:06 +01:00
  • 9fe887a52b logger update ChUrl 2020-12-08 00:56:56 +01:00
  • 96f2013701 better exception for parsing ChUrl 2020-12-08 00:56:48 +01:00
  • e25b43893b update grammar + todos ChUrl 2020-12-08 00:56:24 +01:00
  • 0bec71149f begin implementation of stups grammar ChUrl 2020-12-07 23:34:55 +01:00
  • 2543f700f9 test dangling else grammar ChUrl 2020-12-07 23:34:44 +01:00
  • cafa6f3981 update lexer ChUrl 2020-12-07 23:34:31 +01:00
  • 6c3d9f7e4f improved table printing ChUrl 2020-12-07 23:34:22 +01:00