add lists & VM memory limits
This commit is contained in:
parent
1c0fa7197c
commit
50094c3872
9 changed files with 54 additions and 6 deletions
|
@ -105,6 +105,7 @@ impl RefId {
|
|||
#[derive(Debug, Clone)]
|
||||
pub enum Ref {
|
||||
Closure(Closure),
|
||||
List(List),
|
||||
Shape(Shape),
|
||||
Scribble(Scribble),
|
||||
}
|
||||
|
@ -143,6 +144,11 @@ pub struct Closure {
|
|||
pub captures: Vec<Value>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub struct List {
|
||||
pub elements: Vec<Value>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum Shape {
|
||||
Point(Vec4),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue