Alternate Lua virtual machine (WIP)
Go to file
2025-08-31 16:22:38 +03:00
stc Initial commit 2025-08-31 16:22:38 +03:00
dump.h Initial commit 2025-08-31 16:22:38 +03:00
lexer.c Initial commit 2025-08-31 16:22:38 +03:00
lexer.h Initial commit 2025-08-31 16:22:38 +03:00
main.c Initial commit 2025-08-31 16:22:38 +03:00
Makefile Initial commit 2025-08-31 16:22:38 +03:00
parse.c Initial commit 2025-08-31 16:22:38 +03:00
parse.h Initial commit 2025-08-31 16:22:38 +03:00
README.md Initial commit 2025-08-31 16:22:38 +03:00
str.h Initial commit 2025-08-31 16:22:38 +03:00
table.h Initial commit 2025-08-31 16:22:38 +03:00
value.h Initial commit 2025-08-31 16:22:38 +03:00
vm.c Initial commit 2025-08-31 16:22:38 +03:00
vm.h Initial commit 2025-08-31 16:22:38 +03:00

Impotent

This is an attempt to create a Lua virtual machine capable of true multithreading. Once the nctref compiler matures enough, I intend to plug it into Impotent as a JIT.

Impotent is still work-in-progress:

  1. Integers are 32-bit only
  2. No error handling, meaning any mistake will either crash the VM or make it silently fail
  3. No standard library other than print
  4. Tables cannot be resized
  5. Most operators are missing
  6. Integers and floats are always separate table keys (unlike real Lua where e.g. 5 and 5.0 are considered identical)
  7. The GC isn't real and everything leaks