--- a/progs/lexer/lexer.sc Mon Aug 30 14:18:08 2021 +0100
+++ b/progs/lexer/lexer.sc Mon Aug 30 14:38:24 2021 +0100
@@ -223,7 +223,7 @@
// Two Simple While Tests
//========================
-@doc("small tests")
+@arg(doc = "small tests")
@main
def small() = {
@@ -264,7 +264,7 @@
write minus2
"""
-@doc("Fibonacci test")
+@arg(doc = "Fibonacci test")
@main
def fib() = {
println("lexing fib program")
@@ -290,14 +290,14 @@
}
"""
-@doc("Loops test")
+@arg(doc = "Loops test")
@main
def loops() = {
println("lexing Loops")
println(escape(lexing_simp(WHILE_REGS, prog3)).mkString("\n"))
}
-@doc("Email Test")
+@arg(doc = "Email Test")
@main
def email() = {
val lower = "abcdefghijklmnopqrstuvwxyz"
@@ -317,10 +317,14 @@
}
-@doc("All tests.")
+@arg(doc = "All tests.")
@main
def all() = { small(); fib() ; loops() ; email() }
+// runs with amm2 and amm3
+
+
+