How can lexer read on C++ character by character from stdin?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   andrei_lobl
Posted On:   Monday, May 27, 2002 06:08 AM


I'm using ANTLR for parsing a CLI. I must to catch from input some special characters (ex TAB, up ARROW) and to
take some actions ( complete a command , recall a command ).
The problem is that giving to lexer cin as input , I haven't control on tokens , until ENTER is reached.



Thanks,
Andrei Lobl
andrei.lobl@nsi.co.il

About | Sitemap | Contact