[antlr-interest] [v3] creating shell for interpreter

Fırat KÜÇÜK pismikrop at gmail.com
Tue Sep 26 01:00:43 PDT 2006


Hi,

i created a simple interpreter.

CharStream        input  = new ANTLRInputStream(new DataInputStream(
System.in));
SomeLexer         lexer  = new JavyLexer(input);
CommonTokenStream tokens = new CommonTokenStream(lexer);
SomeParser            parser = new JavyParser(tokens);
parser.start();
But interpreter evaluates commands only one time. I want to create a
continuous shell.
What should i do?

-- 
Öğr. Gör. Fırat KÜÇÜK
ADAMYO Distance Learning
SAKARYA University / TURKEY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20060926/77df0126/attachment.html 


More information about the antlr-interest mailing list