# Oedipus\_lex 2.2.0 Released

**URL:** <https://www.ruby-forum.com/t/oedipus-lex-2-2-0-released/239809>\
**Category:** Ruby\
**Created:** [March 15, 2014, 12:30am UTC](https://www.ruby-forum.com/t/oedipus-lex-2-2-0-released/239809 "2014-03-15T00:30:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [March 15, 2014, 12:30am UTC](https://www.ruby-forum.com/t/oedipus-lex-2-2-0-released/239809/1 "2014-03-15T00:30:29Z")

</div>

oedipus\_lex version 2.2.0 has been released!

- home: [http://github.com/seattlerb/oedipus\_lex](http://github.com/seattlerb/oedipus_lex)
- rdoc: [http://docs.seattlerb.org/oedipus\_lex](http://docs.seattlerb.org/oedipus_lex)

Oedipus Lex is a lexer generator in the same family as Rexical and  
Rex. Oedipus Lex is my independent lexer fork of Rexical. Rexical was  
in turn a fork of Rex. We’ve been unable to contact the author of rex  
in order to take it over, fix it up, extend it, and relicense it to  
MIT. So, Oedipus was written clean-room in order to bypass licensing  
constraints (and because bootstrapping is fun).

Oedipus brings a lot of extras to the table and at this point is only  
historically related to rexical. The syntax has changed enough that  
any rexical lexer will have to be tweaked to work inside of oedipus.  
At the very least, you need to add slashes to all your regexps.

Oedipus, like rexical, is based primarily on generating code much like  
you would a hand-written lexer. It is _not_ a table or hash driven  
lexer. It use StrScanner within a multi-level case statement. As such,  
Oedipus matches on the _first_ match, not the longest (like lex and  
its ilk).

This documentation is not meant to bypass any prerequisite knowledge  
on lexing or parsing. If you’d like to study the subject in further  
detail, please try [TIN321] or the [LLVM Tutorial] or some other good  
resource for CS learning. Books… books are good. I like books.

Changes:

### 2.2.0 / 2014-03-14

- 3 minor enhancements:
