syntax errors can take time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Owl Lisp |
Confirmed
|
Medium
|
Unassigned |
Bug Description
The new lib-parse has a proper kleene* (unlike the previous greedy one). It makes a bit more backtracking attempts than is strictly necessary in some cases. Switch to greedy-kleene* in those cases, and for the love of the flying spaghetti monster, do not intern the symbols before a successful parse is found...
geno:~/ol$ echo "(a #)" | time owl
You see a prompt.
> This makes no sense, lol
> bye bye _o/~
0.00user 0.00system 0:00.01elapsed 22%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+
geno:~/ol$ echo "(aaaaaaaaaaaaaaa #)" | time owl
You see a prompt.
> This makes no sense, lol
> bye bye _o/~
7.04user 0.00system 0:07.05elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+
Changed in ol: | |
status: | New → Confirmed |
importance: | Undecided → Medium |