Commit graph

180 commits

Author SHA1 Message Date
pommicket
f4a8333751 various simplifications, start array initializers 2022-02-02 11:57:11 -05:00
pommicket
92293e83ac string literal initializers, global variable expressions 2022-02-02 09:49:56 -05:00
pommicket
22859ac40a start string initializers 2022-02-01 22:53:57 -05:00
pommicket
44e11303be little corrections 2022-01-29 11:13:56 -05:00
pommicket
1fd79e0ad7 normal (i.e. non-brace) initializers 2022-01-29 11:10:43 -05:00
pommicket
217794afce start top level decls - also oops forgot about sizeless arrays 2022-01-28 15:07:23 -05:00
pommicket
01b8a4d728 switch to using mmap for output file 2022-01-27 18:52:39 -05:00
pommicket
b5a498aa52 sizeof structs and structs-in-structs working 2022-01-27 18:23:10 -05:00
pommicket
09f3f9b450 fix problem with casts immediately followed by operators 2022-01-27 18:00:31 -05:00
pommicket
539f23eaec structs mostly working 2022-01-27 10:57:18 -05:00
pommicket
d036dcc5ac struct/union definitions 2022-01-26 18:00:47 -05:00
pommicket
387d650cab restore casts, sizeof 2022-01-26 17:01:06 -05:00
pommicket
7ca37ea8db commas starting to work 2022-01-26 16:40:11 -05:00
pommicket
73b6a68559 more work, now it's broken 2022-01-26 14:54:23 -05:00
pommicket
618be81b5c starting to move things around; nothing broken yet seemingly 2022-01-25 23:13:29 -05:00
pommicket
fb564812c2 i forgot about commas ... 2022-01-25 18:28:26 -05:00
pommicket
47d801cd34 enums working 2022-01-25 17:50:00 -05:00
pommicket
049bd1440d enums almost working 2022-01-24 20:53:37 -05:00
pommicket
150fbb9dd8 casts 2022-01-24 18:27:09 -05:00
pommicket
466de93583 #if 2022-01-24 14:54:16 -05:00
pommicket
448a1ec4b5 little correction to parse_type 2022-01-24 14:43:51 -05:00
pommicket
5167a60347 typedefs mostly working 2022-01-24 14:06:52 -05:00
pommicket
46635e5748 sizeof working? 2022-01-24 13:22:16 -05:00
pommicket
6af5b34295 conditionals seemingly working 2022-01-23 19:19:49 -05:00
pommicket
b4451ff1b9 practically done eval 2022-01-23 10:55:57 -05:00
pommicket
aa0fbb9caf more eval 2022-01-23 10:37:00 -05:00
pommicket
08c49a193f more consterxprs 2022-01-21 23:24:18 -05:00
pommicket
a7ace346b7 more constepxrs 2022-01-21 20:10:27 -05:00
pommicket
1b4c6b04dd start array types (const expr evaluation) 2022-01-21 18:57:13 -05:00
pommicket
3641ac98dc function types 2022-01-21 14:41:08 -05:00
pommicket
7ae8a22a94 very simple types working! 2022-01-19 22:23:29 -05:00
pommicket
57d918f8ff type splitting 2022-01-19 11:57:42 -05:00
pommicket
c4b15b98bb start typedefs 2022-01-18 16:29:48 -05:00
pommicket
857d5552fc parsing/typing fixes 2022-01-15 10:35:36 -05:00
pommicket
2ec0cd4ae3 various typing fixes 2022-01-14 22:16:57 -05:00
pommicket
27a6d0eb2d better typing 2022-01-14 15:06:11 -05:00
pommicket
b79c3e0f5a parsing fixes 2022-01-14 14:02:34 -05:00
pommicket
e3547b76b1 some binop typing 2022-01-14 13:41:44 -05:00
pommicket
df8c5700d6 fix unary ops 2022-01-14 11:52:26 -05:00
pommicket
39b5101490 unary ops mostly working 2022-01-14 10:08:02 -05:00
pommicket
05cbc58299 binop parsing working 2022-01-13 23:20:45 -05:00
pommicket
251c25cbad binops not working yet 2022-01-13 20:34:13 -05:00
pommicket
53ddd5803e more binop stuff 2022-01-13 20:29:52 -05:00
pommicket
e44bc4976a start parsing binary ops 2022-01-13 18:13:29 -05:00
pommicket
13363eac1a simple expressions 2022-01-13 16:12:28 -05:00
pommicket
e43f32b932 clean up floats, floats which become infinity and zero 2022-01-12 15:44:44 -05:00
pommicket
ee3c461e6e more complicated floats working so far 2022-01-12 15:34:00 -05:00
pommicket
f17720731d "nice" floating-point literals seem to work 2022-01-12 12:54:06 -05:00
pommicket
0d0455ce92 better float idea 2022-01-12 09:59:34 -05:00
pommicket
cbe3580001 bad float implementation 2022-01-12 09:45:20 -05:00