Ada 95 compiler to bootstrap GNAT
- Scheme 61.1%
- Yacc 18%
- Lex 12.2%
- C 8.3%
- Makefile 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| compile | ||
| parse | ||
| LICENSE | ||
| README.md | ||
ada95-bootstrap
This project aims to make an Ada 95 compiler to bootstrap GNAT. The goal is to compile the Ada front end in GCC 3.4.6.
parser
This parser makes use of the Ada 95 Lex specification and YACC grammar listed at https://www.adaic.org/ada-resources/standards/ada-95-documents/. I wrote yacc_ast_gen to build this parser, which can convert Ada source code to JSON or S-expression.
compiler
I'm currently working on the compiler. I write the compiler in Guile Scheme to process the S-expression that the parser generates from the Ada source code.