Alternate Lua virtual machine (WIP)
| stc | ||
| dump.h | ||
| lexer.c | ||
| lexer.h | ||
| main.c | ||
| Makefile | ||
| parse.c | ||
| parse.h | ||
| README.md | ||
| str.h | ||
| table.h | ||
| value.h | ||
| vm.c | ||
| vm.h | ||
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:
- Integers are 32-bit only
- No error handling, meaning any mistake will either crash the VM or make it silently fail
- No standard library other than
print - Tables cannot be resized
- Most operators are missing
- Integers and floats are always separate table keys (unlike real Lua where e.g.
5and5.0are considered identical) - The GC isn't real and everything leaks