Commit graph

224 commits

Author SHA1 Message Date
pommicket
2bb803e673 fix fmacro replacement 2022-01-09 17:26:16 -05:00
pommicket
19ea12a1d4 fmacros starting to work! 2022-01-09 15:56:31 -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
d48816e226 merge term stuff 2022-01-08 10:17:03 -05:00
pommicket
d74f349e27 allow terms to be more complicated 2022-01-08 10:15:43 -05:00
pommicket
5d6b490cce start C compiler 2022-01-07 23:32:27 -05:00
pommicket
262824b214 oops 2022-01-07 22:22:30 -05:00
pommicket
f82581ed76 instruction table, remove old instructions 2022-01-07 20:31:53 -05:00
pommicket
e52793324a finished preprocessor 2022-01-07 14:31:52 -05:00
pommicket
fbe3f4e701 04 compiler fix (global lookup), start preprocessor 2022-01-07 12:06:33 -05:00
pommicket
479ff20704 add 04 to bootstrap, #line 2022-01-07 11:30:14 -05:00
pommicket
519069a89d rename 04b => 04, better 04 README 2022-01-07 11:07:06 -05:00
pommicket
4cd2b7047c 04b initial readme, guessing game, compiler fixes 2022-01-06 23:30:24 -05:00
pommicket
3e73f6625c better test program 2022-01-06 17:54:03 -05:00
pommicket
6f1a085586 if! 2022-01-06 17:37:02 -05:00
pommicket
db552a4dca string 2022-01-06 14:02:30 -05:00
pommicket
8c6b19fdd3 hello world! 2022-01-06 13:53:52 -05:00
pommicket
b66a2dbe6b function calls 2022-01-06 13:13:12 -05:00
pommicket
a415ec31c0 rvalues! 2022-01-06 11:57:55 -05:00
pommicket
9d43ebe2aa number terms! 2022-01-05 23:44:04 -05:00
pommicket
6a31b0560a new language idea 2022-01-05 18:19:28 -05:00
Leo Tenenbaum
ea3c931992 small corrections 2021-11-28 10:28:25 -05:00
Leo Tenenbaum
d03916a3f8 fix function prologue/epilogue, 2nd pass 2021-11-21 17:23:09 -05:00
Leo Tenenbaum
4b9596e892 looking up things 2021-11-20 12:47:26 -05:00
Leo Tenenbaum
d74db67011 label definitions? 2021-11-20 11:38:34 -05:00
Leo Tenenbaum
dfd0610698 mork work on 04b compiler 2021-11-19 23:28:18 -05:00
pommicket
9760d898b7 start 04b compiler 2021-11-19 09:52:27 -05:00
pommicket
17cf6b6fa0 04a readme and corrections 2021-11-17 22:58:17 -05:00
pommicket
3922fc11cd simple preprocessor 2021-11-17 22:37:31 -05:00
pommicket
b48712f9c9 start 04 2021-11-16 11:02:45 -05:00
pommicket
31c9f4ca2a add 03 to Makefile 2021-11-15 21:54:58 -05:00
pommicket
253901b302 update bootstrap.sh with 03 2021-11-14 00:43:17 -05:00
pommicket
3fb2c2c4d8 03 readme minor edits 2021-11-14 00:41:08 -05:00
pommicket
7bb8ab02f7 03 README 2021-11-14 00:33:40 -05:00
pommicket
f7f1f10cb0 more label space, just in case 2021-11-13 17:26:39 -05:00
pommicket
8bbacdc331 corrections in 03 compiler, better hello world program! 2021-11-13 17:24:45 -05:00
pommicket
eb2aadf9bf +=/-=/etc with immediates!! 2021-11-13 15:02:23 -05:00
pommicket
06309dbf76 jump above/below 2021-11-13 14:53:02 -05:00
pommicket
e539081fdd error line numbers! 2021-11-13 14:48:26 -05:00
pommicket
c664b4e61b pretty much done 03 compiler! 2021-11-13 14:32:00 -05:00
pommicket
2507f4b196 return, reserve, align 2021-11-13 14:13:16 -05:00
pommicket
147fb9ccca str (hello wrold program is really simple now!) 2021-11-13 13:56:26 -05:00
pommicket
3fe11fa0cb second pass (+hello world!), call A 2021-11-13 13:48:27 -05:00
pommicket
383d1fbe27 ]=, ^=, also *fixed variable sar in previous compilers* 2021-11-13 13:12:38 -05:00
pommicket
2eea57df8a -=, shifts, and more 2021-11-13 13:00:35 -05:00
pommicket
092f4896a7 += 2021-11-12 22:55:46 -05:00