1
0
mirror of https://github.com/marcin-szczepanski/jFuzzyLogic.git synced 2024-12-30 19:30:28 +01:00
jFuzzyLogic/org/antlr/works/debugger/local/DBParserGlueCode.st
2014-12-19 08:30:46 -05:00

22 lines
556 B
Smalltalk

import java.io.*;
import org.antlr.runtime.*;
import org.antlr.runtime.debug.DebugEventSocketProxy;
$import$
public class $class_name$ {
public static void main(String args[]) throws Exception {
$java_lexer$ lex = new $java_lexer$(new ANTLRFileStream("$input_file$"));
CommonTokenStream tokens = new CommonTokenStream(lex);
$java_parser$ g = new $java_parser$(tokens, $port$, null);
try {
g.$start_symbol$();
} catch (RecognitionException e) {
e.printStackTrace();
}
}
}