2021-12-20 02:56 | llvm toys | Brian Swetland | 8 | +101 | -0 |
2021-12-20 02:38 | docs: save some jottings | Brian Swetland | 2 | +181 | -0 |
2021-12-20 02:38 | tests: some more test cases | Brian Swetland | 4 | +73 | -0 |
2021-12-18 20:23 | ir: control flow graph work | Brian Swetland | 2 | +186 | -14 |
2021-12-18 05:49 | ir: introduce instruction property flags | Brian Swetland | 3 | +49 | -22 |
2021-12-17 22:29 | ir: better assign codegen | Brian Swetland | 1 | +10 | -3 |
2021-12-17 00:25 | ir: instruction list now doubly-linked | Brian Swetland | 2 | +40 | -26 |
2021-12-15 19:02 | ir optimization: clean up branches and labels after codegen | Brian Swetland | 2 | +125 | -12 |
2021-12-15 15:49 | ir: label wrangling | Brian Swetland | 1 | +59 | -15 |
2021-12-15 02:04 | fix if-else branch flow broken by last optimization | Brian Swetland | 2 | +3 | -2 |
2021-12-14 21:28 | codegen r5: don't leak registers | Brian Swetland | 1 | +0 | -1 |
2021-12-14 21:22 | improve conditional handling in IR and straight r5 codegen | Brian Swetland | 2 | +47 | -25 |
2021-12-14 17:57 | new compiler2 ir backend | Brian Swetland | 3 | +787 | -1 |
2021-12-12 16:08 | some project level cleanup | Brian Swetland | 5 | +94 | -88 |
2021-12-10 11:21 | compiler2: fix size management in array writes | Brian Swetland | 2 | +13 | -4 |
2021-12-10 10:23 | compiler2: disentangle lexer/parser/codegen a bit | Brian Swetland | 2 | +139 | -141 |
2021-12-10 07:59 | compiler2: all tests pass | Brian Swetland | 2 | +201 | -164 |
2021-12-09 09:05 | compiler2: cleanup | Brian Swetland | 2 | +76 | -51 |
2021-12-08 16:08 | compiler2: cleanup | Brian Swetland | 2 | +42 | -25 |
2021-12-08 15:22 | compiler: option to dump func ASTs as graphviz diagrams | Brian Swetland | 1 | +124 | -0 |
2021-12-08 13:19 | codegen: remove some debug prints | Brian Swetland | 1 | +0 | -3 |
2021-12-08 13:18 | runtest: count compiler crash as a distinct failure type | Brian Swetland | 2 | +8 | -2 |
2021-12-08 10:46 | compiler2: arrays and more | Brian Swetland | 2 | +77 | -14 |
2021-12-07 10:46 | compiler2: progress | Brian Swetland | 2 | +56 | -8 |
2021-12-07 03:39 | runtests2: save ast from each test run | Brian Swetland | 1 | +2 | -1 |
2021-12-07 03:39 | compiler2: dump ast to a file with -a (instead of stdout) | Brian Swetland | 2 | +59 | -52 |
2021-12-06 23:42 | emulator: usage message | Brian Swetland | 1 | +8 | -1 |
2021-12-06 14:14 | compiler2: share more code for logical ops | Brian Swetland | 1 | +11 | -33 |
2021-12-06 13:29 | compiler2: codegen for || and && | Brian Swetland | 1 | +48 | -0 |
2021-12-06 11:38 | compiler2: interpolate source in listing, fix if/else codegen | Brian Swetland | 2 | +19 | -2 |
2021-12-06 10:36 | compiler2: more if/else fixes | Brian Swetland | 1 | +15 | -0 |
2021-12-06 10:19 | compiler2: progress, fibbonaci test runs now | Brian Swetland | 2 | +97 | -37 |
2021-12-06 10:17 | tests: fibonacci: reduce runtime | Brian Swetland | 2 | +1 | -7 |
2021-12-06 09:08 | compiler2: fixing bugs | Brian Swetland | 2 | +98 | -39 |
2021-12-06 06:55 | compiler2: ast overhaul | Brian Swetland | 2 | +116 | -102 |
2021-12-05 05:40 | compiler2: codeflow for while loops | Brian Swetland | 1 | +5 | -3 |
2021-12-05 05:39 | compiler2: -a option to dump AST | Brian Swetland | 1 | +16 | -5 |
2021-12-05 05:22 | emulator: improve trace mode | Brian Swetland | 3 | +25 | -10 |
2021-12-03 08:46 | compiler2: codegen | Brian Swetland | 1 | +44 | -22 |
2021-12-02 23:45 | compiler2: progress | Brian Swetland | 3 | +58 | -29 |
2021-12-02 22:53 | tests: fix deps for runtests | Brian Swetland | 1 | +4 | -4 |
2021-12-02 22:29 | compiler2: more progress | Brian Swetland | 2 | +44 | -17 |
2021-12-02 22:28 | adjust test running | Brian Swetland | 3 | +66 | -2 |
2021-12-02 08:05 | compiler2: fix forward calls | Brian Swetland | 2 | +6 | -9 |
2021-12-02 06:20 | compiler2: progress on the simple/stupid code generator | Brian Swetland | 4 | +586 | -20 |
2021-12-02 02:40 | update risc5 architecture notes | Brian Swetland | 1 | +6 | -6 |
2021-12-01 05:15 | compiler: add usage message | Brian Swetland | 1 | +10 | -1 |
2021-12-01 04:39 | compiler2: some symbol/scope management | Brian Swetland | 1 | +47 | -28 |
2021-11-30 22:46 | compiler2: ponder necessity of 'Type' distinct from 'Symbol' | Brian Swetland | 2 | +20 | -1 |
2021-11-30 21:46 | notebook: updated | Brian Swetland | 1 | +28 | -0 |
2021-11-30 21:12 | compiler2: evaluate constexprs and initialize globals | Brian Swetland | 1 | +109 | -26 |
2021-11-29 23:56 | compiler2: parsing to AST | Brian Swetland | 2 | +766 | -454 |
2021-11-26 23:57 | compiler2: minor shuffle | Brian Swetland | 1 | +91 | -84 |
2021-11-26 21:33 | compiler2: rewinding to explore a different approach | Brian Swetland | 2 | +1528 | -1 |
2021-05-26 03:20 | rewriter: a bit more transmogrifcation progress | Brian Swetland | 4 | +113 | -30 |
2021-05-26 02:08 | test: add to the structs test | Brian Swetland | 2 | +11 | -0 |
2021-05-24 22:41 | compiler: allow int32 and bool assign into byte | Brian Swetland | 1 | +6 | -0 |
2021-05-24 22:25 | compiler: fix printing of error line | Brian Swetland | 1 | +1 | -0 |
2021-05-24 22:30 | notebook: new entry after a year away | Brian Swetland | 1 | +23 | -0 |
2021-05-24 13:32 | rewriter: tool to transform from C to this language | Brian Swetland | 1 | +798 | -0 |
2021-05-24 06:47 | compiler: selfhosting: convert defines to enums | Brian Swetland | 2 | +28 | -18 |
2021-05-24 06:35 | compiler: more enums | Brian Swetland | 3 | +18 | -0 |
2021-05-24 05:42 | compiler: global anonymous enums | Brian Swetland | 5 | +54 | -7 |
2021-05-24 03:35 | docs: bnf: align with implementation | Brian Swetland | 1 | +12 | -6 |
2021-05-24 03:15 | test: tidy up | Brian Swetland | 3 | +6 | -0 |
2021-05-23 23:28 | docs: why: reflow for 80 col, add some links | Brian Swetland | 1 | +54 | -45 |
2020-03-18 11:58 | compiler: scanner fetches input data in chunks | Brian Swetland | 1 | +31 | -24 |
2020-03-15 19:53 | compiler: logical and/or improvements | Brian Swetland | 3 | +103 | -6 |
2020-03-15 17:10 | compiler: support logical and/or operations | Brian Swetland | 3 | +127 | -10 |
2020-03-15 14:46 | compiler: add support for continue keyword | Brian Swetland | 7 | +76 | -7 |
2020-03-15 14:17 | cleanup: eliminate remaining switch statements | Brian Swetland | 1 | +38 | -36 |
2020-03-15 13:54 | lexer rewrite complete | Brian Swetland | 6 | +326 | -199 |
2020-03-15 04:55 | test: xorshift32 | Brian Swetland | 2 | +85 | -0 |
2020-03-15 04:55 | compiler: lexer rebuild work | Brian Swetland | 2 | +38 | -15 |
2020-03-15 04:15 | test: fix ior test | Brian Swetland | 1 | +2 | -2 |
2020-03-14 15:35 | docs/notebook - some jottings | Brian Swetland | 1 | +94 | -0 |
2020-03-14 13:33 | demo: life: Conway's Game of Life | Brian Swetland | 1 | +106 | -0 |
2020-03-14 13:32 | compiler; _putc_(n) builtin | Brian Swetland | 1 | +5 | -0 |
2020-03-14 13:31 | emulator: run-forever flag (-n) and putc virtual call | Brian Swetland | 2 | +13 | -1 |
2020-03-14 11:58 | compiler: handle arrays as function parameters | Brian Swetland | 4 | +56 | -12 |
2020-03-14 11:05 | compiler: arrays, types, etc | Brian Swetland | 9 | +133 | -7 |
2020-03-14 06:53 | test: stack-allocated structs | Brian Swetland | 2 | +6 | -0 |
2020-03-14 05:09 | todo: updated | Brian Swetland | 1 | +5 | -3 |
2020-03-14 03:56 | compiler: pointers-to-structs | Brian Swetland | 3 | +186 | -13 |
2020-03-14 03:02 | runtest: limit diff output | Brian Swetland | 1 | +2 | -1 |
2020-03-13 07:10 | compiler: progress on globals, structs, and arrays | Brian Swetland | 4 | +233 | -52 |
2020-03-11 12:08 | compiler: table driven lexer 1 of n | Brian Swetland | 1 | +52 | -15 |
2020-03-11 11:23 | compiler: shuffling things about | Brian Swetland | 1 | +62 | -48 |
2020-03-11 09:51 | docs: exciting todo list | Brian Swetland | 2 | +50 | -0 |
2020-03-11 09:32 | compiler: type sizes betterment | Brian Swetland | 1 | +14 | -9 |
2020-03-11 08:54 | compiler: initial local var support | Brian Swetland | 2 | +76 | -27 |
2020-03-11 08:33 | runtest.sh: show compiler output when compilation fails | Brian Swetland | 1 | +1 | -0 |
2020-03-11 08:05 | compiler: make "unsupported"s that are TODOs explicit | Brian Swetland | 1 | +8 | -8 |
2020-03-11 07:58 | compiler: make iParam items use a pure offset | Brian Swetland | 3 | +15 | -3 |
2020-03-11 07:12 | new fibonacci test, new codegen bugfixes | Brian Swetland | 5 | +173 | -16 |
2020-03-11 02:14 | compiler: type system work | Brian Swetland | 1 | +267 | -122 |
2020-03-10 23:43 | notepad entry on discarding the ctx ptr | Brian Swetland | 1 | +16 | -0 |
2020-03-10 19:04 | compiler: stop generating entry/exit shims | Brian Swetland | 1 | +2 | -7 |
2020-03-10 19:01 | emulator: startup shim and commandline passing | Brian Swetland | 1 | +58 | -23 |
2020-03-10 05:53 | compiler: make "ctx" global | Brian Swetland | 1 | +553 | -551 |
2020-03-10 03:05 | compiler: flow control! (if, else, while, break) | Brian Swetland | 4 | +174 | -19 |
2020-03-09 11:07 | notebook: thougts on the path to self-hosting | Brian Swetland | 1 | +46 | -0 |
2020-03-09 10:10 | compiler: builtins and other fun | Brian Swetland | 6 | +135 | -10 |
2020-03-09 08:51 | compiler: cleanup | Brian Swetland | 1 | +83 | -74 |
2020-03-09 08:06 | runtest: declutter the top directory | Brian Swetland | 2 | +2 | -2 |
2020-03-09 07:07 | compiler: fix forward function refs | Brian Swetland | 3 | +34 | -2 |
2020-03-09 06:43 | housekeeping: third party code | Brian Swetland | 7 | +54 | -15 |
2020-03-09 06:20 | docs: resources and inspiration | Brian Swetland | 3 | +91 | -3 |
2020-03-09 04:49 | readme, docs, rename | Brian Swetland | 6 | +106 | -5 |
2020-03-09 04:26 | runtest improvements | Brian Swetland | 4 | +20 | -2 |
2020-03-09 04:12 | compiler: function calls and test framework | Brian Swetland | 9 | +219 | -55 |
2020-03-09 04:11 | risc5 emu: simpilfy output, make quieter | Brian Swetland | 2 | +3 | -3 |
2020-03-07 06:42 | bugfix: don't leak registers in gen_store() | Brian Swetland | 1 | +1 | -0 |
2020-03-07 06:14 | more compiler work | Brian Swetland | 1 | +162 | -26 |
2020-03-07 04:15 | more math and other fun | Brian Swetland | 2 | +237 | -84 |
2020-03-06 08:12 | more compiler progress | Brian Swetland | 3 | +232 | -86 |
2020-03-06 04:12 | compiler progress | Brian Swetland | 6 | +408 | -37 |
2020-03-05 00:47 | r5e: features! | Brian Swetland | 4 | +59 | -13 |
2020-03-05 00:46 | some cleanup and simplification | Brian Swetland | 1 | +36 | -29 |
2020-03-04 23:44 | tlc: rearrange around new Object/Type model | Brian Swetland | 1 | +222 | -122 |
2020-03-03 02:49 | import Peter Dr Wachter's risc5 emulator | Brian Swetland | 6 | +600 | -3 |
2020-03-02 21:10 | new disassmbler | Brian Swetland | 7 | +261 | -209 |
2020-03-02 19:39 | makefile and fixes | Brian Swetland | 2 | +22 | -1 |
2020-03-02 19:34 | wip tlc compiler | Brian Swetland | 3 | +749 | -0 |
2020-03-02 19:31 | initial | Brian Swetland | 7 | +561 | -0 |