词法分析器生成工具 Quex
openkk
13年前
生成词法分析器的工具,支持多种文件编码(ASCII, UTF8, UTF16, RUSCII, ...),能够生成 Lex/Flex 风格的表述。 <br /> <img alt="词法分析器生成工具 Quex" src="https://simg.open-open.com/show/7cb9f573cceafc30d30fd94755778941.png" width="400" height="208" /> <br /> <h3>特性:<br /> </h3> <ul> <li>Produces <em>directly coded</em> lexical analyzer, rather than table based engines.</li> <li>Sophisticated lexical analyzer <em>modes</em> which allow mode inheritance and mode transitions.</li> <li>Sophisticated <em>buffer management</em> 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).</li> <li>Support for <em>a large variety of international character encodings</em> relying on established conversion libraries (IBM's ICU or GNU's IConv).</li> <li>Support for <em>include stacks</em>.</li> <li>Inherent token handling (queue or single token). Support for customized token types.</li> <li><em>Event handlers</em> allow to trigger actions based on mode transitions, indentation events and other analyzis related events.</li> <li><em>Many examples</em> are provided along with the software that demonstrate its usage.</li> </ul> <br /> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1325299152202" target="_blank">http://www.open-open.com/lib/view/home/1325299152202</a></p>