comp.lang.ada
 help / color / mirror / Atom feed
* OpenToken 4.0a released
@ 2010-02-27 15:29 Stephen Leake
  0 siblings, 0 replies; only message in thread
From: Stephen Leake @ 2010-02-27 15:29 UTC (permalink / raw)


I've released a new version of OpenToken; 4.0a

It will be in Debian Squeeze, and in Debian testing before that.

See http://www.stephe-leake.org/ada/opentoken.html to download source
and see full list of changes.

Major changes:

Lookahead and backtracking is supported in recursive descent parsers.
This can generate horribly inefficient parsers if you are not careful.

Fixed major bug in LALR parser generator related to which production
gets the accept action. This bug made many small grammars unworkable;
now they all work.

Syntax errors reported by LR and recursive descent parsers include the
list of expected tokens.

The examples have been improved to more clearly demonstrate the
differences and similarities between LR parsing and recursive descent
parsing with OpenToken.

There are new examples of recursive descent parsing, showing that
naive grammars can work, if inefficiently. 

The OpenToken.Token.List_Mixin, .Sequence_Mixin, .Selection_Mixin now
specify actions via procedure pointers at run-time, rather than via
overloaded procedures. This significantly simplifies specifying
recursive descent grammars.

Language_Lexers.HTML_Lexer supports the <pre> tag; the contents are
treated as a comment.

-- 
-- Stephe



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

only message in thread, other threads:[~2010-02-27 15:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-27 15:29 OpenToken 4.0a released Stephen Leake

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