Compare commits

..

4 Commits

Author SHA1 Message Date
d0242271dd
Link should be in texttt
Some checks failed
CI / Typst formatting (pull_request) Successful in 10s
CI / Typos (pull_request) Failing after 17s
CI / Build (pull_request) Has been skipped
2025-01-24 22:26:07 -08:00
34745ccfe1
Convert "Sysadmin" to typst 2025-01-24 22:26:03 -08:00
bdd6c9c226
Convert "Painting" to typst 2025-01-24 22:20:14 -08:00
69a3dfab39
Convert "What's an AST?" to typst 2025-01-24 22:09:28 -08:00

View File

@ -29,17 +29,17 @@ respecting the order of operations $[and, times, div, +, -]$.
cetz.canvas({
import cetz.draw: *
// spell:off
content((0, 0), $+$, name: "r")
content((-0.5, -1), $3$, name: "a")
content((0.5, -1), $div$, name: "b")
content((-0.3, -2), $times$, name: "ba")
content((1.3, -2), $and$, name: "bb")
content((-0.8, -3), $9$, name: "baa")
content((0.2, -3), $8$, name: "bab")
content((0.8, -3), $5$, name: "bba")
content((1.8, -3), $6$, name: "bbb")
// spell:on
// Zero-sized arrows are a hack for offset.
set-style(
@ -60,7 +60,7 @@ respecting the order of operations $[and, times, div, +, -]$.
),
)
// spell:off
line("r", "a")
line("r", "b")
line("b", "ba")
@ -69,6 +69,5 @@ respecting the order of operations $[and, times, div, +, -]$.
line("ba", "bab")
line("bb", "bba")
line("bb", "bbb")
// spell:on
}),
)