itsy 0.4.0

Strongly typed scripting language with a rusty syntax and nice Rust integration.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

/// Type representing a stack address.
pub type StackAddress = usize;

/// Type representing a stack offset, must be same size as addresses.
pub type StackOffset = isize;

/// Type representing a heap address.
pub type HeapAddress = usize;

/// Number of bits of the heap address to allocate for internal offsets. The remaining bits are used to represent the index into the heap vector.
pub const HEAP_OFFSET_BITS: usize = 36;

/// Type used to index static elements in code, e.g. struct members.
pub type ItemIndex = u16;