Crates.io | roussillon-memory |
lib.rs | roussillon-memory |
version | 0.1.4 |
source | src |
created_at | 2024-06-11 22:05:06.850403 |
updated_at | 2024-09-10 14:53:55.322226 |
description | Memory utility for the roussillon language |
homepage | |
repository | https://asgard.trehinos.eu/roussillon-project/memory |
max_upload_size | |
id | 1268939 |
size | 20,456 |
This crate provides some structs and trait to manage memory and references for an abstract language.
Allocator
Dereference
Region
: a vector containing ValueCell
s,
Area
: a catalog of named Regions
,DroppableRegion
: a Region
which can be active
ou dropped
.Heap
: a memory structure (generation-arena like) with :
HeapReference
: a DataValue
which contains a Reference
to a Region
's generation in a Heap
.HeapReferenceType
: the DataType
of a HeapReference
value.Stack
: a FIFO memory structure with :
StackReference
: a DataValue
which contains a Reference
to a Region
in a Stack
.StackReferenceType
: the DataType
of a StackReference
value.(c) 2024 Sébastien Geldreich
This work is published under the MIT License.