Thread View: comp.lang.ada
2 messages
2 total messages
Started by Dmitry A. Kazakov
Mon, 30 Nov 2026 10:48
ANN: Ada syntax analyzer v1.1
Author: Dmitry A. Kazakov
Date: Mon, 30 Nov 2026 10:48
Date: Mon, 30 Nov 2026 10:48
32 lines
2525 bytes
2525 bytes
The current version provides a full Ada 2022 syntax analyzer library. The analyzer parses the source and creates the syntax tree and cross reference of defining identifiers in the source. Both structures are allocated in an arena pool storage and can be released as a whole. The code source can be file, stream or a user-defined container implementing multi-line source interface. Unicode is fully supported as well as Unicode identifiers normalization checks. https://www.dmitry-kazakov.de/ada/ada_syntax_analyzer.htm Changes to the preious version: - Get_Source_Description function was added to the cross-reference of contexts; - Context table of contents was added for fast search of defining identifiers. The function Find was added for the purpose; - Declaration context contains a reference to the node that contains it; - Accept statement has operation to get the declaration context of the task body it nested in; - The task body node has the list of all nested accept statements; - Conflicting declarations that cannot be overloaded are now detected and reported as errors; - Nodes enumeration type reordered for easier classification; - The function Find was added to find directly visible defining identifiers; - The procedures Pop and Push were added to push and pop defining identifiers onto the argument stack. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de
Re: ANN: Ada syntax analyzer v1.1
Author: Nioclásán Cóilín Glostéir
Date: Mon, 30 Nov 2026 12:08
Date: Mon, 30 Nov 2026 12:08
2 lines
965 bytes
965 bytes
Congratulations and thanks. (S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads