Files @ 3ffeb97c88a7
Branch filter:

Location: CSY/reowolf/src/collections/mod.rs

3ffeb97c88a7 192 B application/rls-services+xml Show Annotation Show as Raw Download as Raw
MH
Add docs for implementing infinite types in a value based language.

Since we are a value based language and do not have the concept of
pointers, then if we want to lay out the memory of datatypes we run
into a problem when the types represent recursive datastructures:
these are infinite in size. So we have an algorithm for turning
some types into pointer-like things, such that we can lay everything
out in memory.
1
2
3
4
5
6
7
8
mod string_pool;
mod scoped_buffer;
mod sets;


pub(crate) use string_pool::{StringPool, StringRef};
pub(crate) use scoped_buffer::{ScopedBuffer, ScopedSection};
pub(crate) use sets::DequeSet;