Right recursive grammar or left recursive?
Posted
by
user2485710
on Stack Overflow
See other posts from Stack Overflow
or by user2485710
Published on 2014-06-03T21:21:14Z
Indexed on
2014/06/03
21:24 UTC
Read the original article
Hit count: 296
I have little to no knowledge of what I'm about to ask, so I would like a suggestion based on the level of skills required to implemented a parser for the given grammar ( since I'm a beginner in this kind of formal approach to parsers and languages ).
Just by going back of a couple of years, this situation reminds me a little of Pascal grammar vs C/C++ grammar, this left vs right stuff.
But I'm not going to do any of that, my purpose is to implement a simple parser for a markup language for documents like Markdown.
So considering that I'm starting with a markup language in mind, I want to keep things simple, which is the easiest one to handle between this 2 options and why . Another kind of grammar could be an easier option for me ? If yes which one do you suggest ?
© Stack Overflow or respective owner