Utilizando las bibliotecas de Java JFlex y Cup crear un analizador léxico y sintáctico que pueda leer los arreglos en java
import java_cup.runtime.*; import java.io.*; class Parser { public static void main(String args[]) throws java.io.IOException, Exception { Lexer l = new Lexer(System.in); // create a parser instance connected to the lexer parser p = new parser(l); // call the parser Symbol s = p.parse(); // print the results of the parse System.out.println("Parse returned code " + s.sym); } }