It would be good to have the lexer and parser read and write from TextReader/TextWriter objects instead of StreamReader/StreamWriter. That way you can pass in StringReader and do the lexing from strings.
It would also facilitate passing Console.In and Console.Out to the lexer/parser instead of having to call Console.OpenStandardInput etc.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It would be good to have the lexer and parser read and write from TextReader/TextWriter objects instead of StreamReader/StreamWriter. That way you can pass in StringReader and do the lexing from strings.
It would also facilitate passing Console.In and Console.Out to the lexer/parser instead of having to call Console.OpenStandardInput etc.
Thanks for the suggestion.
Would you like to work on that change? I could add you to the project if you would like.
Nick
Yikes! I just created a bug report for this.
I have completed the work, and can submit it on request...
David