comp.lang.ada
 help / color / mirror / Atom feed
* ANN: Simple components v1.4
@ 2004-02-22 13:01 Dmitry A. Kazakov
  0 siblings, 0 replies; only message in thread
From: Dmitry A. Kazakov @ 2004-02-22 13:01 UTC (permalink / raw)



http://www.dmitry-kazakov.de/ada/components.htm

Changes:

1. The packages rooted in Parsers provide infix expressions syntax
analyzers. Parsers can be used for syntax analysis of infix expressions,
i.e. ones containing infix (dyadic), prefix and postfix operators,
brackets, function calls, array indices etc. The approach presented does
not require any grammar put down to generate scanner and analyzer. Nor any
code generation steps are required. An object-oriented approach is used
instead. The lexical procedures are dispatching, so that implementations
may be provided through overriding them. Parsers can be used both for
immediate one-pass code interpretation and for parsing tree building.
Parser automatically detects the expression end allowing its easy
integration. Operator precedence is expressed in a native way by setting
priorities controlling association with the operands. Associations with the
left and right side operands are controlled independently. Commutative
operators and their inverses can be optimized when necessary. Especial
attention is paid to error handling allowing generating very precise error
messages and source code references. Samples from a small console
calculator to a complete parsing tree generator for Ada 95 expressions
illustrate examples of use;

2. The package Generic_Segmented_Stack provides a specialization of the
generic stack package;

3. Random access to generic stacks (Get / Put);
 
4. Strings edit facilities;
 
5. Tables management package.

-- 
Regards,
Dmitry A. Kazakov
www.dmitry-kazakov.de



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-22 13:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-22 13:01 ANN: Simple components v1.4 Dmitry A. Kazakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox