Skip to content
pannous edited this page Nov 16, 2020 · 6 revisions

Data in Angle is map based.

The fundamental data type in Angle is a map.

Just like how in lisp everything is a list, in angle everything is a map.

Or internally: a node with parent, children and values.

Peter{address="Home 1"}

is internally represented as

Node{
 name="Peter"
 children={
   Node{
     name="address "
     value=Node{
         name="Home 1" 
         type=string
     }  
  }
}


`{a:b c:d} => a(value:b next:c)`  
`{a{b c} d:e} => a(children:[b c] next:d)`

Question: can children&value be merged? Not if we allow references as keys: `[use:{a:b} reuse:{a:c}]`
The reference problem is orthogonal!

Home

Philosophy

data & code blocks

features

inventions

evaluation

keywords

iteration

tasks

examples

todo : bad ideas and open questions

⚠️ specification and progress are out of sync

Clone this wiki locally