# Dhaka-2.2.1

**URL:** <https://www.ruby-forum.com/t/dhaka-2-2-1/106904>\
**Category:** Ruby\
**Created:** [June 15, 2007, 6:39am UTC](https://www.ruby-forum.com/t/dhaka-2-2-1/106904 "2007-06-15T06:39:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mushfeq\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e95f7d/32.png) [@Mushfeq\_K](https://www.ruby-forum.com/u/Mushfeq_K)\
**Post date:** [June 15, 2007, 6:39am UTC](https://www.ruby-forum.com/t/dhaka-2-2-1/106904/1 "2007-06-15T06:39:31Z")

</div>

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](http://dhaka.rubyforge.org)

Mushfeq.

---

<div class="post-metadata">

**Author:** ![Mushfeq\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e95f7d/32.png) [@Mushfeq\_K](https://www.ruby-forum.com/u/Mushfeq_K)\
**Post date:** [June 15, 2007, 2:26pm UTC](https://www.ruby-forum.com/t/dhaka-2-2-1/106904/2 "2007-06-15T14:26:49Z")

</div>

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. 🙂

V/r  
Anthony E.
