On Sun, Jan 6, 2019 at 11:01 PM Eric S. Raymond <e...@thyrsus.com> wrote:

> I would like to learn more about that strategy, if possible.

> A simple, possibly correct LR parser for C11
>
> http://gallium.inria.fr/~fpottier/publis/jourdan-fpottier-2016.pdf

Thanks. I probably caused a small misunderstanding. By strategy I meant
solving the previously mentioned problem of parsing C without
preprocessing. But the C parsing ambiguity of typedef'ed names is related,
right.

Anyway, I know that paper (thanks to you actually) and there's a Go C
parser that implements all those tricks available at
http://modernc.org/cc/v2

The testdata are here at
https://gitlab.com/cznic/cc/tree/master/v2/testdata/jhjourdan




-- 

-j

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to