Commit Graph

32 Commits

Author SHA1 Message Date
Irmen de Jong
44c0d243ef astnode properties fix 2018-03-06 22:06:30 +01:00
Irmen de Jong
ac2ed0528f augassign dealings with value > 255 2018-02-22 01:22:32 +01:00
Irmen de Jong
e41efef204 fixed some incrdecr optimization issues 2018-02-21 00:50:09 +01:00
Irmen de Jong
de3bca0763 const folding cleanups and explicit notion of assignment LHS 2018-02-20 00:08:41 +01:00
Irmen de Jong
a171bb998d first part of goto codegen 2018-02-16 16:43:21 +01:00
Irmen de Jong
daca1cce37 fix some errors 2018-02-16 12:42:13 +01:00
Irmen de Jong
4134400059 fix some errors 2018-02-16 00:55:58 +01:00
Irmen de Jong
fb1a4aa4ea character literals (strings of len 1) are no longer automatically converted to byte integers 2018-02-11 15:11:14 +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
890fcffdfa fixes 2018-02-08 23:35:50 +01:00
Irmen de Jong
4dc214199f restructure 2018-02-08 21:56:43 +01:00
Irmen de Jong
938c541cc2 codegen 2018-02-04 22:47:50 +01:00
Irmen de Jong
d18876ee70 incrdecr codegen 2018-02-03 02:23:06 +01:00
Irmen de Jong
a560982b7e incrdecr codegen 2018-02-03 01:44:14 +01:00
Irmen de Jong
76755cf57d stuff 2018-02-02 22:42:09 +01:00
Irmen de Jong
43a59817bf expression float consts 2018-02-02 00:12:17 +01:00
Irmen de Jong
dba4dd780a coerce values put back mostly 2018-02-01 01:56:36 +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
f82ceab969 more optimizations 2018-01-29 21:36:01 +01:00
Irmen de Jong
2a662ba256 more optimizations 2018-01-28 23:13:29 +01:00
Irmen de Jong
197a4e503e improved const var evaluation, more tests, added const_num_val() on certain nodes 2018-01-27 01:07:00 +01:00
Irmen de Jong
31c6186245 zero division checks and more optimizations 2018-01-24 00:41:50 +01:00
Irmen de Jong
6573368a69 more semantic checks and codegen 2018-01-23 22:47:35 +01:00
Irmen de Jong
fbf52d773f various fixes 2018-01-21 18:17:39 +01:00
Irmen de Jong
eb58119b97 compiler 2018-01-21 03:44:04 +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
07387f501a restructure code generator 2018-01-14 15:18:50 +01:00