docs: some initial groundwork #2
1 changed files with 4 additions and 6 deletions
|
@ -31,8 +31,6 @@
|
||||||
#let terms = (
|
#let terms = (
|
||||||
"source",
|
"source",
|
||||||
"ast",
|
"ast",
|
||||||
"abstract syntax tree",
|
|
||||||
"Abstract Syntax Tree",
|
|
||||||
"graph IR",
|
"graph IR",
|
||||||
"runtime",
|
"runtime",
|
||||||
|
|
||||||
|
@ -193,12 +191,12 @@ Done with any of `--` or `//`.
|
||||||
- Outputs of streamers are spliced into the contained list.
|
- Outputs of streamers are spliced into the contained list.
|
||||||
- In effect, they are automatically flattened.
|
- In effect, they are automatically flattened.
|
||||||
|
|
||||||
== Abstract Syntax Tree
|
|
||||||
|
|
||||||
Essentially just the source lexed and parsed.
|
|
||||||
|
|
||||||
== Graph IR
|
== Graph IR
|
||||||
|
|
||||||
|
The parsed representation of the source, and also what the runtime operates on.
|
||||||
|
|
||||||
|
In a way, this is the AST, except that it's not a tree.
|
||||||
|
|
||||||
=== Optimizer
|
=== Optimizer
|
||||||
|
|
||||||
Merges and simplifies commands in the graph IR.
|
Merges and simplifies commands in the graph IR.
|
||||||
|
|
Loading…
Reference in a new issue