progs/matcher/re1.sc
changeset 965 94f5cce73a4f
parent 961 c0600f8b6427
--- a/progs/matcher/re1.sc	Thu Sep 19 19:25:13 2024 +0100
+++ b/progs/matcher/re1.sc	Sun Sep 29 18:46:02 2024 +0100
@@ -100,6 +100,7 @@
 
 
 // test: (a?{n}) (a{n})
+@main
 def test1() = {
   println("Test (a?{n}) (a{n})")
 
@@ -109,6 +110,7 @@
 }
 
 // test: (a*)* b
+@main
 def test2() = {
   println("Test (a*)* b")
 
@@ -161,7 +163,7 @@
 
 size(ders(("a" * 30).toList, BIG))      // 31010539
 
-
+@main
 def test3() = {
   println("Test (a + aa)*")
 
@@ -173,4 +175,6 @@
 @main
 def all() = { test1(); test2() ; test3() } 
 
-//all()
+
+
+