aboutsummaryrefslogtreecommitdiff
path: root/lib/tools
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tools')
-rwxr-xr-xlib/tools/find.nom4
-rwxr-xr-xlib/tools/tutorial.nom6
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/tools/find.nom b/lib/tools/find.nom
index 45a51e5..e3ef185 100755
--- a/lib/tools/find.nom
+++ b/lib/tools/find.nom
@@ -43,7 +43,7 @@ command line program with $args:
for $ in (1 to #$patt):
if ($patt.$ is syntax tree):
- if ($patt.$ == ("Var" tree with "multi_wildcard")): return (yes)
+ if ($patt.$ == `$multi_wildcard): return (yes)
unless ($tree.$ matches $patt.$): return (no)
..else:
unless ($tree.$ == $patt.$): return (no)
@@ -99,4 +99,4 @@ command line program with $args:
..else:
sort $results by $ -> $.line
for $ in $results:
- say $.text \ No newline at end of file
+ say $.text
diff --git a/lib/tools/tutorial.nom b/lib/tools/tutorial.nom
index 0dda917..035443e 100755
--- a/lib/tools/tutorial.nom
+++ b/lib/tools/tutorial.nom
@@ -15,10 +15,10 @@ use "shell"
")
[<your code here>, ???] all compile to
- (
- "Action" tree with "at" ("Text" tree with "\((this tree).source)") "fail"
+ `(
+ at `("Text" tree with "\((this tree).source)") fail
`"Incomplete code: This needs to be filled in."
- ) as lua
+ )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~