mabragor / esrap-liquid

Common Lisp packrat parser

Home Page:http://nikodemus.github.com/esrap/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test OPTIONAL-RULE-ARGS fails

mabragor opened this issue · comments

An error message:

"ESRAP-LIQUID parsing failed.
Rule-stack : (ANY-STRING STRING F-OPT-TIMES G!-RULE122)
Position : 3
Text right before : fff
Specific reason: EOF while trying to parse any string of specified length.
"

which is not

SEARCH

to

"Greedy repetition failed."

Apparently, the internal exception is not properly muffled -- some investigation is needed

Could this be related to all string matches failing?

What do you mean by 'all string matches failing'. Do you have more specific error message?
For me all the other tests (as well as projects that use esrap-liquid) are running
perfectly fine now, modulo this different text in this error.

In the sexpr example code, the integer parsing code fails for me and says invalid number of arguments: 1

Changing the strings to characters fixes this.

I just noticed that I'm on SBCL git, so I'm not sure the fault is in this library.