Commit graph

68 commits

Author SHA1 Message Date
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
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
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
0779a0fab5 more float stuff 2022-01-11 22:43:52 -05:00
pommicket
f8f044a7a2 tokenizing string literals and identifiers 2022-01-11 15:55:37 -05:00
pommicket
a245a5be96 character constants 2022-01-11 15:09:49 -05:00
pommicket
b0837b367e tokenizing integer literals 2022-01-11 14:03:47 -05:00
pommicket
fc96e22d4f better keyword tokenization system 2022-01-11 11:53:36 -05:00
pommicket
97dca844c8 start tokenization 2022-01-11 00:09:11 -05:00
pommicket
34dfc3238d ifdef/ifndef/else/endif 2022-01-10 18:04:53 -05:00
pommicket
b963bc91e6 #include 2022-01-10 15:12:24 -05:00