use of com.kasirgalabs.thumb2.ProcessorParser in project ETUmulator by kasirgalabs.
the class BaseProcessor method execute.
private void execute(String instruction) {
ProcessorLexer lexer = new ProcessorLexer(CharStreams.fromString(instruction));
CommonTokenStream tokens = new CommonTokenStream(lexer);
ProcessorParser parser = new ProcessorParser(tokens);
ProcessorParser.ProgContext tree = parser.prog();
this.visit(tree);
}
Aggregations