詞法分析器生成工具 Quex

openkk 12年前發布 | 70K 次閱讀 Flex 語法/詞法分析器

生成詞法分析器的工具,支持多種文件編碼(ASCII, UTF8, UTF16, RUSCII, ...),能夠生成 Lex/Flex 風格的表述。
詞法分析器生成工具 Quex

特性:

  • Produces directly coded lexical analyzer, rather than table based engines.
  • Sophisticated lexical analyzer modes which allow mode inheritance and mode transitions.
  • Sophisticated buffer management which includes a free tell/seek based on character indices even with codings of where characters have dynamic size (e.g. UTF-8, UTF-16).
  • Support for a large variety of international character encodings relying on established conversion libraries (IBM's ICU or GNU's IConv).
  • Support for include stacks.
  • Inherent token handling (queue or single token). Support for customized token types.
  • Event handlers allow to trigger actions based on mode transitions, indentation events and other analyzis related events.
  • Many examples are provided along with the software that demonstrate its usage.

項目主頁:http://www.baiduhome.net/lib/view/home/1325299152202

 本文由用戶 openkk 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!