Ada parsers are available for the following language versions:
- Ada 83
- Ada 95
Currently, the Ada parsers do not build a syntax tree. This can be added upon request.
References
Ada 83
This parser is based on the grammar published by Philippe Charles and Gerald Fisher in the Ada LETTERS, September/October 1982 and on a grammar written by Guido Persch for Ada 80. The parser conforms to the Ada 83 LRM: Reference Manual for the Ada Programming Language, ANSI/MIL-STD 1815 A, 1983.
Ada 95
This parser is based on a Yacc grammar and a Lex specification for Ada 95 published on the Internet with the following remark: A Yacc grammar for Ada 9X - Copyright (C) Intermetrics, Inc. 1994 Cambridge, MA USA. The parser conforms to the Ada 95 Language Reference Manual (LRM): ISO/IEC 8652:1995 Information technology - Programming languages - Ada.