forked from Orchid/orchid
Mainly worked on the rule matcher
Also fixed the name collector, and lambda parameters are no longer resolved at parsing to support planned macro-based pattern matching. The rule matcher clones a lot, the number of clones could be zero.
This commit is contained in:
@@ -6,6 +6,8 @@ greet =1=> (\name. printf out "Hello {}!\n" [name])
|
||||
-- multi-word exported rule
|
||||
export ;> $a =200=> (greet $a)
|
||||
|
||||
reeee := \$a.b
|
||||
|
||||
-- single-word exported rule
|
||||
export main == (
|
||||
print "What is your name?" >>
|
||||
|
||||
Reference in New Issue
Block a user