docs(design): get rid of ast

This commit is contained in:
MultisampledNight 2024-01-09 12:42:51 +01:00
parent 6bd07b639b
commit b9ea83b1c6
No known key found for this signature in database
GPG key ID: C81EF9B053977241

View file

@ -31,8 +31,6 @@
#let terms = (
"source",
"ast",
"abstract syntax tree",
"Abstract Syntax Tree",
"graph IR",
"runtime",
@ -193,12 +191,12 @@ Done with any of `--` or `//`.
- Outputs of streamers are spliced into the contained list.
- In effect, they are automatically flattened.
== Abstract Syntax Tree
Essentially just the source lexed and parsed.
== 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
Merges and simplifies commands in the graph IR.