From fb1f51d1da22f34509cf3fe1d174296d36a0f0ad Mon Sep 17 00:00:00 2001 From: Charlie Stanton Date: Thu, 22 Dec 2022 15:23:28 +0000 Subject: Expressions inside stores are now subexes instead of regexes This simplifies things by no longer needing a regex implementation It also enables transforming text as it is being read into a slot --- main/parse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/parse.go') diff --git a/main/parse.go b/main/parse.go index 6cc20ea..18941f2 100644 --- a/main/parse.go +++ b/main/parse.go @@ -91,7 +91,7 @@ func parseSubex(l *RuneReader, minPower int) SubexAST { if slot == eof { panic("Missing slot character") } - match := parseRegex(l, 100) + match := parseSubex(l, 100) if match == nil { panic("Missing regex for store") } -- cgit v1.2.3