language: implement proper virtual machine support

This commit is contained in:
2023-11-28 05:23:48 -08:00
parent 8951c3cd60
commit f2ff23e9be
55 changed files with 312 additions and 63 deletions

View File

@ -33,13 +33,14 @@ enum class Opcode(val id: UByte) {
ListMake(31u),
ListSize(32u),
Integer(33u),
Double(34u),
Call(35u),
EuclideanModulo(36u),
Remainder(37u),
Index(38u),
ScopeIn(39u),
ScopeOut(40u),
ReturnAddress(41u),
Long(34u),
Double(35u),
Call(36u),
EuclideanModulo(37u),
Remainder(38u),
Index(39u),
ScopeIn(40u),
ScopeOut(41u),
ReturnAddress(42u),
End(255u),
}