Aryadev Chavali
54b836ba64
Add macro for size of a word
...
Smaller number of changes necessary to change types.
2023-10-15 05:03:09 +01:00
Aryadev Chavali
cfc9edebba
Added macro constructors for union types
2023-10-15 04:57:38 +01:00
Aryadev Chavali
1180833161
Implemented functions to pop a byte and a word
2023-10-15 04:57:30 +01:00
Aryadev Chavali
d52d7ad413
Implemented a union type to make vm_push_* routines uniform
...
Function dispatch
2023-10-15 04:36:47 +01:00
Aryadev Chavali
49a85a20d8
Added functions to push a byte and a word
...
Maybe I should make a union for the type, so I can dispatch via
function pointers?
2023-10-15 04:35:07 +01:00
Aryadev Chavali
1101716f0f
Defined a simple virtual machine data structure
...
Currently just contains a "stack".
2023-10-15 01:35:05 +01:00
Aryadev Chavali
ca2e9c7083
Added some type aliases
...
Nicer to refer to a byte as "byte" rather than "uint8_t"
2023-10-15 01:34:42 +01:00
Aryadev Chavali
7cf9160e3f
Added a README
2023-10-15 01:30:00 +01:00
Aryadev Chavali
b6672121a1
Remove unit tests from github workflow
...
We don't *have* unit tests lol.
2023-10-15 01:27:46 +01:00
Aryadev Chavali
16e2275576
First commit!
...
This is a from the ground rework of an old project of the same name.
I'm hoping to be more concerned with runtime efficiency, bytecode size
and all those things that should actually matter for something that
may host time/space critical code.
2023-10-15 01:25:24 +01:00