Commit graph

  • fc96e22d4f better keyword tokenization system pommicket 2022-01-11 11:53:36 -05:00
  • 97dca844c8 start tokenization pommicket 2022-01-11 00:09:11 -05:00
  • 34dfc3238d ifdef/ifndef/else/endif pommicket 2022-01-10 18:04:53 -05:00
  • b963bc91e6 #include pommicket 2022-01-10 15:12:24 -05:00
  • f192249c65 macro replacement in #line directives pommicket 2022-01-10 12:29:11 -05:00
  • f706d3903a fix line numbering with fmacro invocations across multiple lines pommicket 2022-01-10 12:23:56 -05:00
  • a8a30458bd pre-defined macros pommicket 2022-01-10 12:00:05 -05:00
  • a0c535620e more correction to match standard pommicket 2022-01-10 11:46:19 -05:00
  • e009f63506 make preprocessing behave a bit more like it should pommicket 2022-01-10 09:57:36 -05:00
  • 6e75b24b7c #line, #pragma pommicket 2022-01-09 22:33:33 -05:00
  • 29ea5195fa more macro fixes, #undef pommicket 2022-01-09 21:55:00 -05:00
  • 6ce6f76cc1 preprocessor fixes pommicket 2022-01-09 19:53:18 -05:00
  • a2e594c9be almost done # and ## pommicket 2022-01-09 18:39:16 -05:00
  • 141bc9e49a corrected fmacro rescanning pommicket 2022-01-09 17:48:51 -05:00
  • 2214ea4017 fmacro # and ## pommicket 2022-01-09 17:37:23 -05:00
  • 2bb803e673 fix fmacro replacement pommicket 2022-01-09 17:26:16 -05:00
  • 19ea12a1d4 fmacros starting to work! pommicket 2022-01-09 15:56:31 -05:00
  • f08cdc8e22 start fmacro replacement pommicket 2022-01-09 12:31:35 -05:00
  • 807a6aacf9 object-like macro replacement working? pommicket 2022-01-09 00:08:29 -05:00
  • 4d5a5d9d97 reading function-like macros pommicket 2022-01-08 18:13:48 -05:00
  • 3d0adb5f6f start translation phase 4 pommicket 2022-01-08 14:37:39 -05:00
  • ac6cb985db preprocessing tokens pommicket 2022-01-08 12:15:17 -05:00
  • d48816e226 merge term stuff pommicket 2022-01-08 10:17:03 -05:00
  • d74f349e27 allow terms to be more complicated pommicket 2022-01-08 10:15:43 -05:00
  • 5d6b490cce start C compiler pommicket 2022-01-07 23:32:27 -05:00
  • 262824b214 oops pommicket 2022-01-07 22:22:30 -05:00
  • f82581ed76 instruction table, remove old instructions pommicket 2022-01-07 20:30:29 -05:00
  • e52793324a finished preprocessor pommicket 2022-01-07 14:31:52 -05:00
  • fbe3f4e701 04 compiler fix (global lookup), start preprocessor pommicket 2022-01-07 12:06:33 -05:00
  • 479ff20704 add 04 to bootstrap, #line pommicket 2022-01-07 11:29:37 -05:00
  • 519069a89d rename 04b => 04, better 04 README pommicket 2022-01-07 11:07:06 -05:00
  • 4cd2b7047c 04b initial readme, guessing game, compiler fixes pommicket 2022-01-06 23:29:59 -05:00
  • 3e73f6625c better test program pommicket 2022-01-06 17:54:03 -05:00
  • 6f1a085586 if! pommicket 2022-01-06 17:37:02 -05:00
  • db552a4dca string pommicket 2022-01-06 14:02:30 -05:00
  • 8c6b19fdd3 hello world! pommicket 2022-01-06 13:53:52 -05:00
  • b66a2dbe6b function calls pommicket 2022-01-06 13:13:12 -05:00
  • a415ec31c0 rvalues! pommicket 2022-01-06 11:57:55 -05:00
  • 9d43ebe2aa number terms! pommicket 2022-01-05 23:44:04 -05:00
  • 6a31b0560a new language idea pommicket 2022-01-05 18:19:28 -05:00
  • ea3c931992 small corrections Leo Tenenbaum 2021-11-28 10:28:25 -05:00
  • d03916a3f8 fix function prologue/epilogue, 2nd pass Leo Tenenbaum 2021-11-21 17:23:09 -05:00
  • 4b9596e892 looking up things Leo Tenenbaum 2021-11-20 12:47:26 -05:00
  • d74db67011 label definitions? Leo Tenenbaum 2021-11-20 11:38:34 -05:00
  • dfd0610698 mork work on 04b compiler Leo Tenenbaum 2021-11-19 23:27:08 -05:00
  • 9760d898b7 start 04b compiler pommicket 2021-11-19 09:52:27 -05:00
  • 17cf6b6fa0 04a readme and corrections pommicket 2021-11-17 22:58:17 -05:00
  • 3922fc11cd simple preprocessor pommicket 2021-11-17 22:37:31 -05:00
  • b48712f9c9 start 04 pommicket 2021-11-16 11:02:45 -05:00
  • 31c9f4ca2a add 03 to Makefile pommicket 2021-11-15 21:54:58 -05:00
  • 253901b302 update bootstrap.sh with 03 pommicket 2021-11-14 00:43:09 -05:00
  • 3fb2c2c4d8 03 readme minor edits pommicket 2021-11-14 00:39:24 -05:00
  • 7bb8ab02f7 03 README pommicket 2021-11-14 00:33:40 -05:00
  • f7f1f10cb0 more label space, just in case pommicket 2021-11-13 17:26:39 -05:00
  • 8bbacdc331 corrections in 03 compiler, better hello world program! pommicket 2021-11-13 17:24:45 -05:00
  • eb2aadf9bf +=/-=/etc with immediates!! pommicket 2021-11-13 15:02:23 -05:00
  • 06309dbf76 jump above/below pommicket 2021-11-13 14:53:02 -05:00
  • e539081fdd error line numbers! pommicket 2021-11-13 14:48:26 -05:00
  • c664b4e61b pretty much done 03 compiler! pommicket 2021-11-13 14:32:00 -05:00
  • 2507f4b196 return, reserve, align pommicket 2021-11-13 14:13:16 -05:00
  • 147fb9ccca str (hello wrold program is really simple now!) pommicket 2021-11-13 13:56:26 -05:00
  • 3fe11fa0cb second pass (+hello world!), call A pommicket 2021-11-13 13:48:27 -05:00
  • 383d1fbe27 ]=, ^=, also *fixed variable sar in previous compilers* pommicket 2021-11-13 13:12:38 -05:00
  • 2eea57df8a -=, shifts, and more pommicket 2021-11-13 13:00:35 -05:00
  • 092f4896a7 += pommicket 2021-11-12 22:55:46 -05:00
  • a9114a5d70 conditional and unconditional jumps pommicket 2021-11-12 22:00:46 -05:00
  • 0937fd530c useful functions pommicket 2021-11-12 21:12:59 -05:00
  • 9d90c7045a label lookup working! pommicket 2021-11-12 16:51:28 -05:00
  • b5735552e2 numbers! pommicket 2021-11-11 19:16:01 -05:00
  • 8c7f2f4a58 read decimal number pommicket 2021-11-11 19:04:19 -05:00
  • a8f48b329a (03) storing label addresses pommicket 2021-11-11 12:54:20 -05:00
  • ea6989a71a start stage 3--hex digit to number pommicket 2021-11-10 21:22:25 -05:00
  • 15a4be17e3 add compares to conditional jump instructions pommicket 2021-11-10 21:20:49 -05:00
  • 8f527338ae update bootstrap.sh pommicket 2021-11-10 12:58:28 -05:00
  • 2288e47516 readme tweaks, mainly pommicket 2021-11-10 12:55:41 -05:00
  • 3255cd32d7 readme edits pommicket 2021-11-10 00:52:34 -05:00
  • befd4a6435 hello world working! yay! pommicket 2021-11-09 20:53:55 -05:00
  • 66496d98c4 working program in 02 lang!! pommicket 2021-11-09 20:27:03 -05:00
  • e3ccf5d976 offsets for label definitions, immediates pommicket 2021-11-09 20:00:56 -05:00
  • 53c8c9939d in theory, i just need to fill in offsets pommicket 2021-10-31 22:32:40 -04:00
  • 447e8e2796 in theory all that's left for program 02 is filling in jumps pommicket 2021-09-02 12:12:55 -04:00
  • 336a793149 markdown to HTML converter pommicket 2021-09-01 18:27:51 -04:00
  • f71545c939 01 done pommicket 2021-09-01 17:40:39 -04:00
  • bd739d7205 finished 01, now just need to write readme pommicket 2021-09-01 14:58:37 -04:00
  • 6efb86d66d mostly done stage 01 pommicket 2021-09-01 01:08:16 -04:00
  • 1753e738d6 cleaned up 00 pommicket 2021-08-31 17:16:30 -04:00
  • d052391270 stage 00 readme done pommicket 2021-08-31 02:10:17 -04:00
  • 9bcbd94e46 start 00 readme pommicket 2021-08-30 19:09:20 -07:00
  • 78d2d93c7c part 00: hexcompile pommicket 2021-08-30 15:11:04 -07:00