Commit Graph

  • c452116c0a 📝 doc main _ 2023-10-04 21:04:42 -0500
  • a9f3085166 📈 performance: incrementing PC right after fetch seems to get it under 2900 ms _ 2023-10-04 18:29:58 -0500
  • cd0cf33dfc :chart_with_upwards_trends: this seems to get it under 3 seconds sometimes _ 2023-10-04 18:15:57 -0500
  • 209b1ff7b5 shrink interned strings to u32, no change in performance _ 2023-10-04 17:29:51 -0500
  • b2e8c878d1 📝 doc: failed optimization _ 2023-10-04 03:17:24 -0500
  • 6db6dc3725 📝 doc: failed optimization _ 2023-10-04 03:05:21 -0500
  • 465ee55183 🚧 wip: interning Tables _ 2023-10-04 02:42:55 -0500
  • 32ddedc066 📝 doc: document attempted and planned optimizations _ 2023-10-03 16:17:34 -0500
  • 43a3294c57 🚧 wip: decode Instructions lazily _ 2023-10-03 15:59:06 -0500
  • 47d5fe3df1 test: check how big Instruction is _ 2023-10-03 12:29:47 -0500
  • 3698feeb90 🐛 bug: fix tests _ 2023-10-03 11:58:29 -0500
  • 55ea0c233e not really faster. Maybe more clear. _ 2023-10-02 20:28:36 -0500
  • 7878efc235 🚧 wip: Vec seems to be faster than BTreeMap here, slightly _ 2023-10-02 20:13:43 -0500
  • 4e23f51634 🚧 this seemed to improve perf a little but idk why _ 2023-10-02 19:27:30 -0500
  • b35dc346e8 📈 performance: caching the current block helps, barely _ 2023-10-02 19:14:54 -0500
  • 52df317326 measuring _ 2023-10-02 18:54:09 -0500
  • 11fd5b6cbc 🚧 wip: always keep at least one stack frame handy _ 2023-10-02 18:20:03 -0500
  • 66fe54adef remove unused things _ 2023-10-02 17:55:17 -0500
  • e11026a553 📈 performance: down to 800 ms / 3.3x by changing PC handling _ 2023-10-02 17:39:33 -0500
  • 130330b688 down to 4.2x slower than PUC Lua, but the code became ugly to behold _ 2023-10-02 16:14:34 -0500
  • eb32a53d18 🚧 wip: add string interning, but a few things broke _ 2023-10-02 14:52:38 -0500
  • 08bbb53900 add StringInterner _ 2023-10-02 12:27:25 -0500
  • b9865b7174 🚧 wip _ 2023-10-02 12:13:54 -0500
  • 247d6b7a24 test: proving to myself that string interning is a good idea _ 2023-10-02 11:57:57 -0500
  • bba98043c7 test: this script revealed the recent bug in call/return _ 2023-10-02 11:06:08 -0500
  • 543cf58b1e 📦 build: this isn't needed in the code _ 2023-10-02 01:03:09 -0500
  • b88735a61b 🐛 bug: fix a bug in OP_CALL when b or c is 0 _ 2023-10-02 00:59:30 -0500
  • 8baea40e82 ♻️ refactor: extract `State::eval` for testing bugs the REPL finds _ 2023-10-01 23:07:52 -0500
  • f9e8f26ac3 star: add a primitive REPL _ 2023-10-01 22:50:06 -0500
  • b8dd59cd7c ♻️ refactor: match the Lua CLI API more closely _ 2023-10-01 21:26:47 -0500
  • db84365c27 ♻️ refactor: State owns its Chunk now _ 2023-10-01 20:31:30 -0500
  • 700b273a11 test: fix up some bugs to support an embedding example _ 2023-10-01 19:50:50 -0500
  • ffb1950f80 ♻️ refactor: split up the VM from the CLI program _ 2023-10-01 17:56:06 -0500
  • 51b04be1ab 🐛 bug: PUC Lua says divides always make floats, even int / int _ 2023-10-01 15:03:37 -0500
  • eb024eed3e 🚧 wip: only 5.8x slower than PUC, but brittle _ 2023-10-01 02:46:10 -0500
  • 5331b5a4d2 ♻️ refactor: mark where we can optimize tables for int keys _ 2023-10-01 02:12:17 -0500
  • 4e9f9a74c5 📝 doc: benchmark results _ 2023-10-01 02:00:23 -0500
  • c50c16b9db 🐛 bug: fix io.write and take off the `max_iters` restriction _ 2023-10-01 01:36:40 -0500
  • fb46ede3ca 🐛 bug: fix OP_TEST ignoring `k` _ 2023-10-01 01:33:47 -0500
  • a9820677e9 🐛 bug: fix some stuff in calling native functions _ 2023-10-01 01:06:15 -0500
  • 06638574f7 🔊 improve error message for this error with the missing math lib _ 2023-09-30 23:41:12 -0500
  • bccd5fc3a7 Merge remote-tracking branch 'gitea/main' _ 2023-09-30 10:13:03 -0500
  • be9cd1e5ac 📝 doc: improve error message _ 2023-09-30 10:09:37 -0500
  • d0f9014f03 📝 doc: improve error message _ 2023-09-30 10:09:37 -0500
  • ae858ebe70 🐛 bug: patch loader _ 2023-09-30 10:08:13 -0500
  • 46cf5837bc 🐛 bug: impl opcodes _ 2023-09-30 10:05:07 -0500
  • e59dd85246 🐛 bug: impl opcodes _ 2023-09-30 10:01:30 -0500
  • 1943f0a40b 🐛 bug: impl OP_ADDI _ 2023-09-30 09:57:51 -0500
  • 81743108c3 🐛 bug: implement OP_MULK _ 2023-09-30 09:52:42 -0500
  • 64384e7ca5 🐛 bug: fix loader using the old broken `parse_int` for instruction count _ 2023-09-30 09:49:36 -0500
  • 9bfd3c64c3 tests: add failing benchmark _ 2023-09-30 09:48:02 -0500
  • 15e4832623 remove unused artifacts _ 2023-09-29 17:46:46 -0500
  • 57486f7a65 🐛 bug: fma test passes with a hack _ 2023-09-29 17:44:54 -0500
  • 2a0e02aec4 test: closure passing again, fma still not _ 2023-09-29 17:25:54 -0500
  • 24d576879b make Debug print easier to read _ 2023-09-29 17:17:53 -0500
  • 35e62027e6 🐛 bug _ 2023-09-29 16:58:40 -0500
  • e499d27dfc 🚧 wip: improving debugging _ 2023-09-29 16:55:02 -0500
  • a460b5a932 ♻️ refactor: hoist breakpoints out of State _ 2023-09-29 16:32:29 -0500
  • a9e14d0f47 ♻️ refactor: extract a single step method for State _ 2023-09-29 16:27:50 -0500
  • f0d4f25cec implement a couple more opcodes fighting the closure issue _ 2023-09-29 16:15:00 -0500
  • 4da634a2aa 🚧 wip: working on closures / upvalues _ 2023-09-28 01:31:23 -0500
  • 05b1d6e1f7 loading upvalue metadata _ 2023-09-28 00:55:16 -0500
  • b639d02027 remove unused file _ 2023-09-28 00:28:33 -0500
  • 96c82c27c8 🐛 bug: fix long string loading and int adding _ 2023-09-28 00:27:05 -0500
  • 5649f38698 add OP_LEN and allow telling luac a file name _ 2023-09-28 00:10:21 -0500
  • 565fd19e66 📝 doc: links _ 2023-09-27 14:13:56 -0500
  • fe2bb4cca2 📝 doc _ 2023-09-27 14:12:48 -0500
  • d9bba9fc07 📝 doc: make it obvious that LWVM only handles bytecode for now _ 2023-09-27 14:12:29 -0500
  • af49dc68be 📝 doc _ 2023-09-27 14:06:54 -0500
  • 2d309c37bf 🐛 bug: spaces in filename _ 2023-09-27 14:05:03 -0500
  • 57992e6bd4 📝 doc: license _ 2023-09-27 14:03:21 -0500
  • 5c4a545369 📝 doc: roadmap _ 2023-09-27 13:58:37 -0500
  • bebc96916b allow Lua to call native Rust functions _ 2023-09-27 01:46:53 -0500
  • 5ab30ac5b4 ♻️ refactor: remove special types BogusArg and BogusEnv _ 2023-09-26 23:19:33 -0500
  • 062c6e6a2d 🐛 bug: fix loader bug _ 2023-09-26 23:19:12 -0500
  • 2f676adc19 FizzBuzz with some caveats _ 2023-09-26 22:45:41 -0500
  • 9811d265f6 for loops with integer counters counting up only _ 2023-09-26 22:34:47 -0500
  • fcfd9397ff 🐛 bug: switch to RefCell so some more of the tables tests will pass _ 2023-09-26 21:43:02 -0500
  • 0d5e1098bc test: found a bug in my tables impl _ 2023-09-26 20:47:47 -0500
  • 1d813b0f44 test: add tables test _ 2023-09-26 20:41:47 -0500
  • 9d29aeb43b tables are working okay _ 2023-09-26 20:31:00 -0500
  • 79e9df852c ♻️ refactor: remove unused fn _ 2023-09-26 16:50:29 -0500
  • 448ecc08d2 ♻️ refactor: extract module _ 2023-09-26 16:47:51 -0500
  • 5466e6ec56 ♻️ refactor: make register access easier to read _ 2023-09-26 16:45:04 -0500
  • 2bd1ff3d59 ♻️ refactor impl Display for Value _ 2023-09-26 15:57:23 -0500
  • 72b2d6e656 can create an empty table _ 2023-09-26 15:49:12 -0500
  • e12d749c7c ♻️ refactor: extract value module _ 2023-09-26 14:41:10 -0500
  • 693efa47bd impl Hash for Value _ 2023-09-26 14:38:38 -0500
  • 8d80ebc052 add integers _ 2023-09-26 14:23:57 -0500
  • e87265373c 🐛 bug: shrank the Value size to 16 bytes _ 2023-09-26 14:10:57 -0500
  • f29eaac1d0 test: measure size of my Value compared to PUC Lua _ 2023-09-26 14:00:11 -0500
  • bc15781457 🐛 bug: fix up printing to mostly match PUC Lua _ 2023-09-26 13:46:01 -0500
  • 7b1fb49775 use luac in `main` _ 2023-09-26 13:33:59 -0500
  • d9469b4440 ♻️ refactor: invoke luac during tests so I don't have to version artifacts _ 2023-09-26 12:04:17 -0500
  • 0d88653c21 the nested functions thing is working, though I wish I didn't have to use recursion _ 2023-09-25 03:05:00 -0500
  • 3870dc2c02 🎨 rebrand as LunarWaveVM _ 2023-09-25 01:59:18 -0500
  • 4fd412b415 🚧 wip: I'm not handling nested functions in luac files properly _ 2023-09-25 01:57:57 -0500
  • 1518781753 🚧 wip: got the closure test working _ 2023-09-25 00:23:53 -0500
  • 543dab360b ♻️ refactor: trying to fix OP_RETURN so it can close over values _ 2023-09-24 22:49:00 -0500
  • 44d065d6dd main now runs a luac file directly. No more hard-coded instructions. _ 2023-09-24 22:14:08 -0500