Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
7 votes
0 answers
1k views

How do I parse a simple grammar and obtain a syntax tree in Emacs lisp?

How can I construct a parse tree from a string and a simple grammar? Semantic seems very tricky, and SMIE does not seem to produce a parse tree. Here's an example, assuming a language that looks like ...
Clément's user avatar
  • 4,035