Dhaka-2.2.1

Dhaka is a parser- and lexer-generator. Ruby is both the source and
target
language.

==What’s new==

This release addresses some problems that people have been experiencing
due
to the library having a large memory footprint. The new require target
‘dhaka/runtime’ loads only the barest minimum that’s required to run
compiled lexers and parsers in production. Its memory usage is an order
of
magnitude smaller.

When developing grammars and lexer specifications, you should continue
to
require ‘dhaka’ as before. In production code, require ‘dhaka/runtime’.

Also included is a patch from Rick O. for adding a default handling
rule
to tokenizer states (See TokenizerState#for_default).

http://dhaka.rubyforge.org

Mushfeq.

Mushfeq,

I just wanted to take the opportunity to say that Dhaka is very nicely
done. I’ve been using it lately for creating an MDX lexer/parser and
have even played around with notion of parsing SQL. It’s good stuff,
so thanks. :slight_smile:

V/r
Anthony E.