RubyGems Navigation menu

oedipus_lex 2.6.2

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

Gemfile:
=

安裝:
=

版本列表:

  1. 2.6.2 August 03, 2023 (27.5 KB)
  2. 2.6.1 May 31, 2023 (27.5 KB)
  3. 2.6.0 October 27, 2021 (27.5 KB)
  4. 2.5.3 May 30, 2021 (27.5 KB)
  5. 2.5.2 June 14, 2020 (27.5 KB)
顯示所有版本(共 16)

Development 相依性套件 (2):

hoe ~> 4.0
rdoc >= 4.0, < 7

擁有者:

推送者:

作者:

  • Ryan Davis

SHA 256 總和檢查碼:

=

簽名有效期:

January 01, 2023 - January 01, 2024 (已過期)

總下載次數 61,167

這個版本 4,985

版本发布:

授權:

MIT

Ruby 版本需求: >= 2.7, < 4.0

相關連結: