FlexLexico is a Java-based lexical analyzer project. It reads and processes a file named prueba.txt to perform lexical analysis. The results are saved in a file named ts.txt.
- src/main/java/com/Lexico/FlexLexico: Contains the main Java classes.
- prueba.txt: The input file for the lexical analyzer.
- ts.txt: The output file containing the token names and values.
- pom.xml: Maven configuration file.
- Java 20
- Maven
- java-cup-11b (version 2015.03.26)
-
Clone the repository:
git clone https://github.com/VNardoni/TEO1.git cd FlexLexico -
Build the project using Maven:
mvn clean install
To build the .jar file, use the following Maven command:
mvn clean packageThe resulting .jar file will be located in the target directory
To run the .jar file, use the following command:
java -jar .\FlexLexico-2.0.jarThe UI will allow you to load the input file or write in the text area and display the results. The tokens will be saved in ts.txt.
- Cosentino Matias
- Juarez Sebastian
- Nardoni Valentin (Delegado)
- Pittavino Patricio
- Rueda Lucas