syntax errors can take time

Bug #503277 reported by Aki Helin
6
This bug affects 1 person
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+322minor)pagefaults 0swaps
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+350minor)pagefaults 0swaps

Aki Helin (aoh)
Changed in ol:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.