hello terence parr,



is it possible to do in your antlr something like this?



class .... {



   public static void main(String[] args)

   {



FilterLexer  analex = new gramaticaFiltrosLexer("String containing what 
is going to be analized");

FilterParser anasint = new gramaticaFiltrosParser(analex);



anasint.instruction();



    }


}




I am new working with antlr, and I am making a simple calculator using 
Java. I would like to pass a string that is going to be readed from a 
InputTextBox and would like to execute the antlr java classes that were 
generated by ANTLR. Is it possible to do so? I cant find anything on web 
with a similar easy example.



Thank you



Israel S Llorens

                                          
_________________________________________________________________
No has visto nada como el nuevo Messenger, ¡te sorprenderá!
http://explore.live.com/windows-live-messenger
_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org/mailman/listinfo/antlr-dev

Reply via email to