Languge processor (compiler , and interpreter ). Code in spanish from my years in college (2011)
This code is old but i think it could be usefull for someone learning the subject. Please note, code and comments are in spanish. I will upload a pdf version of the written text memoria.pdf (also in spanish) where is described the process followed to develop the translator and interpreter.
All source is found under the fuentes directory
The translator code was generated using javacc 5.0 with the definition in the file traductor.jj (see generarTraductor.sh script).
The generated code is located in fuentes/traductor/ directory.
The two programs (main methods) are located in the programas directory
to compile and run both the compiler and interpreter, follow the commands in the file tests.sh