mirror of
https://github.com/marcin-szczepanski/jFuzzyLogic.git
synced 2024-12-24 09:55:28 +01:00
22 lines
556 B
Smalltalk
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();
|
|
}
|
|
}
|
|
}
|