Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: Parsing Emacs Lisp sexpr?by perlancar (Hermit) |
on Apr 09, 2020 at 10:44 UTC ( [id://11115273]=note: print w/replies, xml ) | Need Help?? |
Anyhow, I tried hacking a regex-based parser here. It's "working" with some problem: 1) segmentation fault for larger data, indicating a leak somewhere. 2) parsing failure when e.g. the NUMBER rule fails to match and it matches ATOM instead, e.g. in this sexp: (1a) which fails, but (1) and (a) succeed.
In Section
Seekers of Perl Wisdom
|
|