Hi all,

I was hoping that I can call

(instaparse.core/parser "my ::= 'ebnf' | 'grammar' ")

to get a parse tree of the EBNF. I'd like to convert the EBNF to a 
tree-sitter grammar.js.

But when I evaluate the above expression, I only see a the original EBNF 
input, reformatted, and without comments:

=> my = "ebnf" | "grammar"

Is there a way to get hands on the underlying structure, i.e. the parse 
tree?

Best, Jakob

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/59ca6c3a-c342-4e32-8f19-044ec1ce0de9n%40googlegroups.com.

Reply via email to