Commit Graph

18 Commits

Author SHA1 Message Date
Irmen de Jong
de3bca0763 const folding cleanups and explicit notion of assignment LHS 2018-02-20 00:08:41 +01:00
Irmen de Jong
5d7e31ed74 fix some errors 2018-02-13 23:11:36 +01:00
Irmen de Jong
780443ddab character literals (strings of len 1) are no longer automatically converted to byte integers 2018-02-11 14:18:22 +01:00
Irmen de Jong
7b2af25a42 much improved constant folding by actually evaluating const expressions 2018-02-07 23:01:47 +01:00
Irmen de Jong
dd96cd506d fixed some optimization destroying parent 2018-01-31 01:38:55 +01:00
Irmen de Jong
9b23bfb85c builtin functions are now defined as BuiltinFunction in topmost scope 2018-01-30 22:30:05 +01:00
Irmen de Jong
d299742ddf fixed ast parent pointers 2018-01-30 01:38:37 +01:00
Irmen de Jong
4d70e3d42f more explicit use of Expression, fixed some optimizations 2018-01-29 23:39:01 +01:00
Irmen de Jong
3ea0723c3e compiler 2018-01-21 01:32:50 +01:00
Irmen de Jong
861379c4d7 generalized Ast node tree by giving all classes .nodes attribute 2018-01-18 22:31:16 +01:00
Irmen de Jong
9b77dcc6b8 more semantic code checks 2018-01-16 01:47:55 +01:00
Irmen de Jong
8fc6a5ada9 convert bool to 1/0 and single char to byte 2018-01-15 02:26:36 +01:00
Irmen de Jong
afc4ba8ff0 fixed a bunch of issues 2018-01-15 00:46:27 +01:00
Irmen de Jong
10d0dbe80b improved sourceref column calculation when dealing with tabs, added more error checks 2018-01-14 18:02:39 +01:00
Irmen de Jong
614f90fc35 tweaks 2018-01-12 00:55:47 +01:00
Irmen de Jong
29060f3373 expression 2018-01-10 23:45:10 +01:00
Irmen de Jong
14e36a8708 code generation v2 started 2018-01-09 21:38:19 +01:00
Irmen de Jong
b8506ee7d4 optimize, tests, refactor 2018-01-09 00:05:55 +01:00