[antlr-interest] Parse data structure as input
parrt at cs.usfca.edu
Tue Apr 1 12:36:09 PDT 2008
Sure. a tree adaptor + tree grammar i what you want.
On Apr 1, 2008, at 11:03 AM, Yau Kwong K (Tony) wrote:
> Hi all,
> I’m new to antlr and I’m trying to find out if Antlr can parse C
> data structure (instead of plain character stream) as input. My data
> structures have struct containing
> different data types and pointers to multiple different struct (like
> a tree). They are all in C target.
> I would like to write a tree walker to walk the data structure and
> take appropriate action when a particular value is set inside the
> input structure.
> Any suggestions would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the antlr-interest