Commit Graph

12 Commits (eb32a53d1842c583b30a5783f260abfc7f8745e8)

Author SHA1 Message Date
_ eb32a53d18 🚧 wip: add string interning, but a few things broke 2023-10-02 14:52:38 -05:00
_ 08bbb53900 add StringInterner 2023-10-02 12:27:25 -05:00
_ b9865b7174 🚧 wip 2023-10-02 12:13:54 -05:00
_ 247d6b7a24 test: proving to myself that string interning is a good idea 2023-10-02 11:57:57 -05:00
_ bba98043c7 test: this script revealed the recent bug in call/return 2023-10-02 11:06:08 -05:00
_ b88735a61b 🐛 bug: fix a bug in OP_CALL when b or c is 0 2023-10-02 00:59:30 -05:00
_ 8baea40e82 ♻️ refactor: extract `State::eval` for testing bugs the REPL finds 2023-10-01 23:07:52 -05:00
_ f9e8f26ac3 star: add a primitive REPL
This turned out a few new bugs in the VM
2023-10-01 22:50:06 -05:00
_ b8dd59cd7c ♻️ refactor: match the Lua CLI API more closely 2023-10-01 21:26:47 -05:00
_ db84365c27 ♻️ refactor: State owns its Chunk now 2023-10-01 20:31:30 -05:00
_ 700b273a11 test: fix up some bugs to support an embedding example 2023-10-01 19:50:50 -05:00
_ ffb1950f80 ♻️ refactor: split up the VM from the CLI program 2023-10-01 17:56:06 -05:00