instaparse

If you're not trampolining your parser, why bother getting up in the morning?
wistb 2017-06-24T00:41:51.284184Z

test

wistb 2017-06-24T00:42:12.285679Z

hi, beginner question.

wistb 2017-06-24T00:42:18.286171Z

(def abc-parser (insta/parser (http://clojure.java.io/resource "grammars/abc.abnf") :input-format :abnf :trace true :output-format :enlive)) ;;:auto-whitespace whitespace))

wistb 2017-06-24T00:42:57.288645Z

if I enable the whitespace option , I am getting a copile error when I run 'lein run'.

wistb 2017-06-24T00:43:17.290031Z

like this :

wistb 2017-06-24T00:43:18.290122Z

(def abc-parser (insta/parser (http://clojure.java.io/resource "grammars/abc.abnf") :input-format :abnf :trace true :output-format :enlive :auto-whitespace whitespace))

wistb 2017-06-24T00:43:57.292647Z

same problem if I used :auto-whitespace :standard

wistb 2017-06-24T00:46:35.303653Z

Caused by: java.lang.IllegalArgumentException: No matching clause: :char at instaparse.combinators_source$auto_whitespace_parser.invokeStatic(combinators_source.clj:163) at instaparse.combinators_source$auto_whitespace_parser.invoke(combinators_source.clj:162) at instaparse.combinators_source$auto_whitespace$iter__426__430$fn__431.invoke(combinators_source.clj:184)