Skip to content

☕ Ada language compiler written in Java that features lexical and syntax analysis using JFlex and JavaCup.

Notifications You must be signed in to change notification settings

aalvrz/ADA-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ada Compiler

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.

GUI

NOTE: Files must be saved before being compiled.

Running the Program

  1. Download the repository as a .zip file.
  2. Extract the files.
  3. Run the /dist/Compilador.jar file.

Example Ada Code

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;

About

☕ Ada language compiler written in Java that features lexical and syntax analysis using JFlex and JavaCup.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published