summaryrefslogtreecommitdiff
path: root/docs/definitions.md
blob: 0071473c9e7a7cf2fd75484ba40ea9768285bd42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Definitions

---

## Code

A representation of executable bytes

### Operation

Intrinsic

### Statement

A sequence of operations

### Block

A list of statements

### Function

A sequence of blocks and/or statements that take arguments and returns code or data

### Coroutine

A sequence of functions for a single `Task`

### Line

A queue of coroutines on a container

### Interface

A table of functions for a specific type of data

## Data

A representation of non executable bytes

### Collection

A list of immediately evaluated statements

### Value

Fits in a general register, all updates are atomic

### Container

Requires heap allocation, all updates are processed through a single-file `Line`

### Task

Coroutine state

### Tag

A key associated with a value