|
|
On 7/17/24 21:08, Bald Eagle wrote:
> "Hj. Malthaner" <me@home> wrote:
>
>> In regard to the parser,
>
> Maybe before you get too far into that, take a look at:
>
https://journal.stuffwithstuff.com/2011/03/19/pratt-parsers-expression-parsing-made-easy/
Interesting, I had not heard of PRATT parsers before.
I think I'll stick with a recursive descent parser though, because it's
a more widely known approach, even if the code is less compact.
The structure of a recursive descent parser resembles the grammar quite
closely which a benefit too, I think, with the grammar being of the docs
already.
Post a reply to this message
|
|