Added destructuring lambda/rec-lambda, changed let to use the same [] array destructuring syntax, added basic multiset & set-foldl. Fixed a bunch of bugs in fungll, hopefully close to working, but just realized that < is only defined for ints, while it's how the RB-Tree set/map sort their values/keys, so I'll need to extend it like = for all types. Tomorrow!
This commit is contained in:
6
fungll_test.kp
Normal file
6
fungll_test.kp
Normal file
@@ -0,0 +1,6 @@
|
||||
(with_import "./fungll.kp"
|
||||
(let (
|
||||
just_a_parser (parse (nterm 'A (altOp altStart (seqOp seqStart (term (idx "a" 0))))))
|
||||
parse_result (just_a_parser "a")
|
||||
_ (println "parse result " parse_result)
|
||||
) nil))
|
||||
Reference in New Issue
Block a user