-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
The Python3.g4 grammar works fine with the standard ANTLR 4.5 "grun" macro. However, it doesn't work with clj-antlr in lein repl:
(require ['clj-antlr.core :as 'antlr])
(def python3 (antlr/parser "grammars-v4/python3/Python3.g4" {:root "file_input"}))
(python3 "2 + 2\n")
==> ParseError no viable alternative at input '+ ' clj-antlr.common/parse-error (common.clj:146)
Sorry if this is a noob issue. I'm very new to Clojure.
Metadata
Metadata
Assignees
Labels
No labels