Registered by Riccardo Bernardini

This project is about a generic Ada package implementing a simple text scanner that converts an input string into a sequence of "tokens" (e.g., identifiers, strings, numbers, separators and so on). Useful to implement simple parsing routines.

As many of other small projects of mine, this started from an itch of mine. You see, in my software I often have the need to parse simple texts (e.g., configuration or style files) and part of the parsing code is a "scanner" that converts text into a sequence of higher-level tokens (e.g., integers, identifiers, strings, ...). One day I got sick of writing always the same code with minimal variations, so I created this generic package.

The package is parameterized by an enumeration type that represents the type of tokens recognized.

Project information

Licence:
MIT / X / Expat Licence

RDF metadata

View full history Series and milestones

trunk series is the current focus of development.

All code Code

Version control system:
Bazaar

All bugs Latest bugs reported

Get Involved

Downloads

Ada Generic Scanner does not have any download files registered with Launchpad.