docs(design): add term list

This commit is contained in:
MultisampledNight 2024-01-21 22:11:41 +01:00
commit 10886be00a
No known key found for this signature in database
GPG key ID: C81EF9B053977241
2 changed files with 78 additions and 9 deletions

View file

@ -33,22 +33,23 @@
// this'd require wrapping the whole document in a show rule
// at which point `query` doesn't find anything anymore
#let terms = (
"processing stage",
"source",
"AST",
"graph IR",
"runtime",
"evaluator",
"optimizer",
"scheduler",
"VM",
"evaluator",
"evaluation",
"function",
"instruction",
"pipeline",
"input", "argument", "consumer",
"output", "streamer",
"modifier",
"pipeline",
)
// yes, the shadowing is intentional to avoid accidentally using the list
#let terms = regex("\\b(" + terms.map(expand).join("|") + ")\\b")