Commit graph

37 commits

Author SHA1 Message Date
pommicket
267b52814e bugfix, planning static variables 2022-02-04 23:21:33 -05:00
pommicket
dfce9118b9 parsing break, continue, return 2022-02-04 19:31:45 -05:00
pommicket
d1167f03d0 start parsing statements (not a lot yet) 2022-02-03 22:53:38 -05:00
pommicket
be9a3b4bd5 arrays decay to pointers - also found bug 2022-02-02 23:02:31 -05:00
pommicket
c19bed7454 struct initializers, found some bugs (not fixed yet) 2022-02-02 15:12:28 -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
d036dcc5ac struct/union definitions 2022-01-26 18:00:47 -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
fb564812c2 i forgot about commas ... 2022-01-25 18:28:26 -05:00
pommicket
049bd1440d enums almost working 2022-01-24 20:53:37 -05:00
pommicket
46635e5748 sizeof working? 2022-01-24 13:22:16 -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
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
13363eac1a simple expressions 2022-01-13 16:12:28 -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
pommicket
06ebaf043b untested first stab at floats 2022-01-11 22:29:00 -05:00
pommicket
343129a610 full multiply 2022-01-11 18:03:09 -05:00
pommicket
c42cf36dee powers of 10 2022-01-11 17:36:33 -05:00
pommicket
f8f044a7a2 tokenizing string literals and identifiers 2022-01-11 15:55:37 -05:00
pommicket
b0837b367e tokenizing integer literals 2022-01-11 14:03:47 -05:00
pommicket
97dca844c8 start tokenization 2022-01-11 00:09:11 -05:00
pommicket
b963bc91e6 #include 2022-01-10 15:12:24 -05:00
pommicket
6e75b24b7c #line, #pragma 2022-01-09 22:33:47 -05:00
pommicket
f08cdc8e22 start fmacro replacement 2022-01-09 12:31:35 -05:00
pommicket
807a6aacf9 object-like macro replacement working? 2022-01-09 00:08:29 -05:00
pommicket
4d5a5d9d97 reading function-like macros 2022-01-08 18:13:48 -05:00
pommicket
3d0adb5f6f start translation phase 4 2022-01-08 14:37:39 -05:00
pommicket
ac6cb985db preprocessing tokens 2022-01-08 12:15:17 -05:00
pommicket
5d6b490cce start C compiler 2022-01-07 23:32:27 -05:00