• Joined on 2023-05-19
jeff pushed to rewrite-4 at jeff/dust 2024-09-12 09:09:24 +00:00
d4d58e793b Refactor and improve the VM, Parser, and Lexer
jeff pushed to rewrite-4 at jeff/dust 2024-09-12 04:39:55 +00:00
67e5de6664 Reimplement the Parser and VM with a register-based VM
jeff pushed to rewrite-4 at jeff/dust 2024-09-12 03:07:42 +00:00
7b055d79b5 Begin rewrite with register-based bytecode
jeff pushed to rewrite-4 at jeff/dust 2024-09-11 08:34:16 +00:00
974310ffab Preffify logs
jeff pushed to rewrite-4 at jeff/dust 2024-09-11 08:23:26 +00:00
86f8e47b0c Avoid cloning constant and move identifier stack to the chunk
jeff pushed to rewrite-4 at jeff/dust 2024-09-11 07:10:28 +00:00
e4204c1b0d Get variable scopes working
jeff pushed to rewrite-4 at jeff/dust 2024-09-10 22:20:11 +00:00
8f58bf30a4 Make everything messy
jeff pushed to rewrite-4 at jeff/dust 2024-09-10 14:44:34 +00:00
c3790e90bf Implement blocks with scopes
jeff pushed to rewrite-4 at jeff/dust 2024-09-10 13:26:29 +00:00
4ba3a47ae5 Add implicit returns and fix variable declaration and resolution
jeff pushed to rewrite-4 at jeff/dust 2024-09-10 07:42:59 +00:00
f936c30b4f Go to great lengths to avoid cloning Values; Extend error reports
jeff pushed to rewrite-4 at jeff/dust 2024-09-10 05:06:52 +00:00
0ed2733991 Add quotes to string value display
jeff pushed to rewrite-4 at jeff/dust 2024-09-10 05:04:49 +00:00
8798efc0af Add error reports and byte operations
jeff pushed to rewrite-4 at jeff/dust 2024-09-10 03:45:44 +00:00
8f20e53880 Add support for characters and bytes
jeff pushed to rewrite-4 at jeff/dust 2024-09-10 03:45:25 +00:00
1b92c57df8 Add support for characters and bytes
jeff pushed to rewrite-4 at jeff/dust 2024-09-10 03:24:35 +00:00
fcfcb4a429 Restructure, clean up and add tests
jeff pushed to rewrite-4 at jeff/dust 2024-09-10 02:57:24 +00:00
85f5f44946 Pass all tests
jeff pushed to rewrite-4 at jeff/dust 2024-09-10 00:55:22 +00:00
5b8ec74d05 Prettify disassembly output
jeff pushed to rewrite-4 at jeff/dust 2024-09-09 23:24:12 +00:00
c406039c99 Replace global variables with locals
jeff pushed to rewrite-4 at jeff/dust 2024-09-07 22:48:26 +00:00
32347ec512 Make chunk debug print infallible
jeff pushed to rewrite-4 at jeff/dust 2024-09-07 21:16:24 +00:00
e9ec838b25 Refactor and clean up