--- a/progs/lexer/lex.sc Mon Aug 30 14:18:08 2021 +0100
+++ b/progs/lexer/lex.sc Mon Aug 30 14:38:24 2021 +0100
@@ -1,6 +1,11 @@
// A simple lexer inspired by work of Sulzmann & Lu
//==================================================
//
+// call with
+//
+// amm lex.sc
+//
+
// regular expressions including records
abstract class Rexp
@@ -176,7 +181,7 @@
// Two Simple While Tests
//========================
-@doc("small tests")
+@arg(doc = "small tests")
@main
def small() = {
@@ -193,3 +198,8 @@
println(lexing(WHILE_REGS, prog2))
}
+
+
+
+
+// runs with amm2 and amm3