CARVIEW |
Select Language
HTTP/1.1 200 OK
Date: Tue, 14 Oct 2025 00:22:50 GMT
Server: Apache
Vary: Accept-Encoding
Content-Encoding: gzip
X-Frame-Options: sameorigin
X-XSS-Protection: 1; mode=block
Strict-Transport-Security: max-age=31536000
Content-Length: 3102
Content-Type: text/html; charset=UTF-8
PHP_LexerGenerator
Top Level :: PHP
Package Information: PHP_LexerGenerator
» Summary | » License |
---|---|
translate lexer files in lex2php format into a PHP 5 lexer | New BSD License |
» Current Release | » Bug Summary |
0.4.0 (alpha) was released on 2010-10-25 by doconnor (Changelog) |
Report a new bug to PHP_LexerGenerator |
» Description | |
Translate a lexer file with a format similar to re2c (https://re2c.org) into a PHP 5 lexer for use with a parser. Unlike re2c (as of re2c version 0.11), generated lexers are state-aware out of the box. Generated lexers are very efficient, more than twice as efficient as other alternatives like csLex (written in C#) because they utilize PHP's built-in Perl-compatible regular expressions to lex for tokens. Now in version 0.3.0+, with processing instruction %longestmatch, generated lexers will always pick the longest string to match, rather than the first. Generated lexers are slightly slower, but match behavior of legacy lexers like flex, lex, re2c. |
|
» Maintainers | » More Information |
|
Dependencies for PHP_LexerGenerator
- PHP 5.1.0
- PEAR Installer 1.4.3
Copyright © 2001-2025 The PHP Group All rights reserved.
Bandwidth and hardware provided by:
eUKhost