Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import org.antlr.runtime.*;
- public class Main {
- public static void main(String args[]) throws Exception {
- sssLexer lex = new sssLexer(new ANTLRFileStream(args[0]));
- CommonTokenStream tokens = new CommonTokenStream(lex);
- sssParser g = new sssParser(tokens);
- g.identifier();
- }
- }
Add Comment
Please, Sign In to add comment