All Questions
Tagged with semantic-mode smie
1 question
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 ...