I’m having a little trouble with a simple parser:
(def exp-parser (insta/parser "S = Sexp Sexp = Term | '(' Term* ')' Term = Char+ Char = #'[a-z]'"))
user=> (exp-parser "(hi)") [:S [:Sexp "(" [:Term [:Char "h"]] [:Term [:Char "i"]] ")"]] I thought the Char+ would make “hi” a single Term...