docs: some initial groundwork #2

Merged
multisamplednight merged 26 commits from :initial-docs into main 2024-01-20 19:00:52 +00:00
Showing only changes of commit b9ea83b1c6 - Show all commits

View file

@ -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.