Menu

Use of TextReader instead of StreamReader

2001-12-10
2013-02-21
  • Carl Tanner

    Carl Tanner - 2001-12-10

    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.

     
    • Nick Drochak

      Nick Drochak - 2001-12-25

      Thanks for the suggestion.

      Would you like to work on that change?  I could add you to the project if you would like.

      Nick

       
    • dpbarron

      dpbarron - 2004-09-28

      Yikes!  I just created a bug report for this.

      I have completed the work, and can submit it on request...

      David

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.