:coffee: Ada language compiler written in Java that features lexical and syntax analysis using JFlex and JavaCup.
This program is the 1st stage of an Ada Compiler written in Java. It implements some Java libraries such as JFlex (for lexical analysis) and JavaCup for defining the language grammars.
This program uses a very basic GUI where you can type in Ada code and save the file to the file system. Once it is saved, it can be processed for analysis by clicking the “Compile” button.
NOTE: Files must be saved before being compiled.
/dist/Compilador.jar
file.Below is a basic example code in Ada. More examples can be found in the Ada Wikipedia page).
procedure Example is
begin
a := 10;
end Example;