This crate provides some structs and trait to manage memory and references for an abstract language.
Allocator
Dereference
Region
: a vector containingValueCell
s,Area
: a catalog of namedRegions
,DroppableRegion
: aRegion
which can beactive
oudropped
.
Heap
: a memory structure (generation-arena like) with :HeapReference
: aDataValue
which contains aReference
to aRegion
's generation in aHeap
.HeapReferenceType
: theDataType
of aHeapReference
value.
Stack
: a FIFO memory structure with :StackReference
: aDataValue
which contains aReference
to aRegion
in aStack
.StackReferenceType
: theDataType
of aStackReference
value.
(c) 2024 Sébastien Geldreich
This work is published under the MIT License.