Commit graph

14 commits

Author SHA1 Message Date
a8397c78d7 refactor focusing on xo-alloc2/ xo-gc/ write-barrier
ability to inform allocator of gco->gco mutation, via AAllocator i/face.
2026-05-01 19:54:26 -04:00
1651ed1d43 xo-object2: obj<ACollector> argument to DArray::push_back() 2026-04-28 23:17:00 -04:00
895e8d7a34 xo-interpreter2 stack: + reason arg to visit_gco_children()
Helps streamline DX1Collector in xo-gc/.
Want both forward and verify entry points for the same
representation.
2026-04-10 01:10:03 -04:00
a312b5f20c refactor: use GCObjectVisitor api w/ gco_shallow_move 2026-04-06 15:21:48 -04:00
7e583b1337 refactor: + narrower interface for gc pointer forwarding
add AGCObjectVisitor, instead of requiring ACollector.
2026-04-05 23:53:02 -04:00
a0de9b8ebd refactor: rename RCollector.std_copy_for -> std_move_for 2026-04-04 16:37:17 -04:00
e179c9795b refactor: rename shallow_copy -> shallow_move + streamline
Use RCollector.std_copy_for where appropriate
2026-04-04 16:33:35 -04:00
bd88f441fc refactor: rename GCObject.shallow_copy -> shallow_move
resolve conflict since relying on move constructor in std_copy_for
2026-04-04 15:00:53 -04:00
a067d0f7b2 xo-inteerpreter2: rework VsmResult to use pointer
Preefer to maintain ref to VSM.result_, since gc will
preserve it.
2026-03-27 12:13:09 -04:00
822fef7de3 xo-interpreter2 stack: wrap TokenizerError as DRuntimeError
Also fix _read_eval_print() to report them!
2026-03-27 11:16:28 -04:00
3e97590990 xo-interpreter2: VSM.start_eval() returns const ref
If copied get unstable value, since may be moved away on next gc
2026-03-26 17:08:39 -04:00
5a5b918703 xo-interpreter2: bugfix: install types for vsm collector instance 2026-03-26 15:04:22 -04:00
fe752bc6d3 xo-interpreter2: virtual root for VSM itself 2026-03-25 20:06:40 -04:00
92bea14aa0 xo-interpreter2 stack: VSM as AGCObject for virtual root 2026-03-25 19:31:59 -04:00
Renamed from src/interpreter2/VirtualSchematikaMachine.cpp (Browse further)