Commit Graph

183 Commits

Author SHA1 Message Date
347dd8f534 Make all sections optional 2026-03-14 18:36:21 +00:00
f4433ce3a3 LEB128-encode addresses in data section 2026-03-14 18:35:33 +00:00
714973f052 LEB128-encode values from defs 2026-03-14 18:29:55 +00:00
4f878fdbab Add suport for block/loop/if/else 2026-03-14 18:26:12 +00:00
9fb3910a16 Allow defs to reference other defs 2026-03-14 15:04:25 +00:00
22dc1fc0ca Add support for labels 2026-03-14 14:52:44 +00:00
cc51b2d7be Fix data word size 2026-03-14 14:50:40 +00:00
902404cb10 Fix string interpolation in error messages 2026-03-14 14:01:09 +00:00
d4718f1106 Allow using defs in code 2026-03-14 13:59:42 +00:00
33f5a4be06 Fix bug in local lookup 2026-03-14 13:59:41 +00:00
e2429b2b03 Enable using defs in .byte and .word directives 2026-03-14 13:52:00 +00:00
2972030d0a Add .def support 2026-03-14 13:48:37 +00:00
2c3e5f46da Implement .align directive 2026-03-14 13:48:36 +00:00
93f3dd1f41 Implement .utf directive 2026-03-14 13:48:35 +00:00
cfa4fa7d4f Add .word directive 2026-03-14 13:48:34 +00:00
94cee7d258 Fix string interpolation in error messages 2026-03-14 13:48:33 +00:00
092d870a9c Implement .byte directive 2026-03-14 13:48:33 +00:00
6db71ee382 Add .at directive 2026-03-14 11:56:30 +00:00
5369a0969e Restructure copy implementation to avoid type-indexed block 2026-03-10 21:25:37 +00:00
118e6af896 Add support for globals (mutable only)
I'm planning on adding symbolic constants to the assembler, so I won't
really have much use for immutable globals.
2026-03-10 19:56:49 +00:00
1c4b9f850a Add support for imports (memory only) 2026-03-10 19:54:16 +00:00
672a453f6c Add string support to tokenizer 2026-03-10 17:53:58 +00:00
5a3084dd16 Implement .mem directive 2026-03-10 15:33:41 +00:00
77f6d57e1b Add support for locals 2026-03-10 00:37:05 +00:00
510a74aa04 Add base suffix for integers 2026-03-10 00:22:07 +00:00
75600d0568 Add symbol resolution (params only) 2026-03-10 00:22:06 +00:00
6a4877d52c Implement .param directive 2026-03-09 23:52:18 +00:00
554d918640 Create initial scaffolding for JS WASM assembler 2026-03-09 23:36:14 +00:00
ef0c395d57 Add manifest for wipforth-deploy 2026-03-08 21:06:35 +00:00
f72d79dc19 Fix typo in README 2026-03-04 22:14:12 +00:00
e5f9d2d828 Make run-tests exit 1 when there are failures 2026-03-04 22:08:34 +00:00
fb70a2585f Fix typo in test name 2026-03-04 21:31:22 +00:00
fb52e5a701 Add README section for end-to-end tests 2026-03-04 20:52:23 +00:00
a1b003a1cd Implement some end-to-end tests 2026-03-04 20:45:05 +00:00
9576769e09 Implement simple testing module for e2e tests 2026-03-04 20:22:24 +00:00
e13452db15 Run firefox in blank profile when e2e testing 2026-03-04 17:55:16 +00:00
529aabd213 Rename e2e-tests to e2e 2026-03-04 17:52:26 +00:00
d18ff1d2bb Modify server.scm so it can be loaded as a module 2026-03-04 17:26:46 +00:00
e2ed73055f Write Guile module for Firefox interaction with Marionette 2026-03-04 01:08:54 +00:00
721e0f285b Fix handling of trailing zeros in . 2026-03-03 13:17:37 +00:00
c1c1db7b51 Add note about server.scm probably being insecure 2026-03-02 21:52:05 +00:00
b5c4070daf Use EMIT when printing version number instead of ." 2026-03-02 19:00:57 +00:00
59e6027739 Use CONSTANT to define version numbers 2026-03-02 18:56:17 +00:00
32c3c6e356 Use atomic wait/notify on RXTAIL in KEY 2026-03-02 18:53:48 +00:00
2a3949e09f Make terminal xHEAD and xTAIL registers 32 bits
This enables waiting on them with memory.atomic.wait32 (there is no
wait8) which is needed to avoid spinning when waiting for a key.
2026-03-02 18:51:42 +00:00
22e477adf7 Fix hex number input 2026-03-02 18:50:34 +00:00
c99430c75e Fix headers in peripherals description 2026-03-02 17:59:32 +00:00
a77e7f4051 Rename "Offset" column to "Address" in peripherals description 2026-03-02 17:58:42 +00:00
24459a8ae5 List tools in Building and Running README section 2026-03-02 17:54:31 +00:00
a0e3706db7 Replace Python server with Guile 2026-03-02 17:53:50 +00:00