tekknolagi / scrapscript

A functional, content-addressable programming language.
https://scrapscript.fly.dev/repl
Other
376 stars 10 forks source link

compiler: Support multiple object spaces #157

Closed tekknolagi closed 5 months ago

tekknolagi commented 5 months ago

In particular, support a constant object space where objects can be emitted at compile-time. Those objects are not scanned, do not point outside the constant object space, and do not move. Other objects in the run-time heap may point into the constant space.