My lexer (generated in C++) seems slower than table-driven lexers like lex. Is there anything I can do?

Location: http://www.jguru.com/faq/view.jsp?EID=458474 Created: Jul 19, 2001 Modified: 2001-07-19 18:25:39.028 Author: Terence Parr (http://www.jguru.com/guru/viewbio.jsp?EID=1) Question originally posed by Ilya Rosenberg (http://www.jguru.com/guru/viewbio.jsp?EID=68153 According to Ric Klaren, an istringstream object should do the trick. He also has an example, flexLex in the examples/cpp directory of the distribution, that shows using flex instead of ANTLR's top-down lexer. More.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions