Search in sources :

Example 1 with Lexer

use of br.ufpe.cin.if688.infpos.v2.lexer.Lexer in project if688.github.io by if688.

the class PosFixa method main.

public static void main(String[] args) throws IOException {
    String expression = readFile(file, StandardCharsets.UTF_8);
    Lexer lexer = new Lexer(expression);
    // System.out.println(lexer.tokens());
    Parser parse = new Parser(lexer);
    parse.expr();
    System.out.write('\n');
/**/
}
Also used : Lexer(br.ufpe.cin.if688.infpos.v2.lexer.Lexer) Parser(br.ufpe.cin.if688.infpos.v2.parser.Parser)

Aggregations

Lexer (br.ufpe.cin.if688.infpos.v2.lexer.Lexer)1 Parser (br.ufpe.cin.if688.infpos.v2.parser.Parser)1