Hapy 0.0.4 is available
Alex Rousskov <[email protected]> Wed, 4 Feb 2004 08:55:18 -0700 (MST)
| Newsgroups | gmane.comp.parsers.hapy.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Hapy library version 0.0.4 has been released.
The fourth release adds semantic actions and character
set/range builtin parsing rules. The release also
contains performance optimizations and documentation
improvements.
The change log is below.
Enjoy,
Alex.
0.0.4 2004/02/04:
- added char_range_r(first,last) rule to match any
character in the specified [first,last] inclusive range
- added char_set_r(string) rule to match any character in
the specified string
- added action interface; a rule can now be augmented
with an action that gets triggered when the rule
matches; an action can confirm the match, generate a
parsing error, or reject the match with a miss; the
latter causes new matches to be found; the action is
called before the rule commits
- added find_if(node,f) function to search for a parsing
tree node for which f() returns true
- polished and documented debugging mechanisms
- use loops instead of indirect recursion when
backtracking through alternatives; recursion can easily
run out of [stack] memory when dealing with huge
invalid inputs and character-at-a-time rules; not all
algorithms were checked for recursion loops so this may
need more work
- avoid polluting macro name space with VERSION and
PACKAGE* #defines in config.h; such pollution prevented
seemless integration of Hapy with other packages
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn