Nunuhara Cabbage
c370e3eeaf
Implement S_MOD (format strings)
...
Mostly relying on sprintf to do the work.
2019-11-10 13:44:01 -08:00
Nunuhara Cabbage
3ff406cb58
SR_POP, SR_ASSIGN, C_REF, C_ASSIGN
2019-10-29 19:58:26 -07:00
Nunuhara Cabbage
33ec7a34e1
Basic arrays implementation
...
Just .Alloc() and .Free() for now.
2019-10-22 17:33:26 -07:00
Nunuhara Cabbage
b3a660f8ec
strings: copy-on-write
...
Only copy strings when they are mutated. This avoids copying strings in
cases where neither the copy nor the original would be modified during
the lifetime of the copy, e.g. when passing strings by-value.
This is purely an optimization.
2019-10-20 21:26:51 -07:00
Nunuhara Cabbage
55f3991546
Implement more string instructions
...
Implement all of the string instructions that I could get the compiler
to generate code for. Still ASCII-only.
2019-10-14 14:18:09 -07:00
Nunuhara Cabbage
cc2a2c594a
Floating point instructions
2019-10-13 21:32:17 -07:00
Nunuhara Cabbage
8a40058c81
Overhaul VM design
...
Overhaul the VM design to more closely resemble System40.exe. See
system4.md for further details.
2019-10-13 17:51:22 -07:00
Nunuhara Cabbage
53dc8a7a44
strings: store size together with text in memory
2019-10-07 16:54:46 -07:00