« Return to Thread: Access to token stream while parsing,

Access to token stream while parsing,

by Michel Trudeau :: Rate this Message:

Reply to Author | View in Thread

My apologies if that is a really basic question but:

How can I save the list of tokens while parsing the input?

I want to write a small grammar for my language and want to invoke the
parser for the root element but would like to also save all tokens being
read by the scanner so I can rewrite the file with a possibly new format.

Thanks,
Michel


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Access to token stream while parsing,