- Name: php-pear-PHP_LexerGenerator
- Version: 0.4.0
- Release: 8.mga5
- Epoch:
- Group: Development/PHP
- License: New BSD License
- Url: http://pear.php.net/package/PHP_LexerGenerator
- Summary: translate lexer files in lex2php format into a PHP 5 lexer
- Architecture: noarch
- Size: 725580
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: umeabot <umeabot>
Description:
Translate a lexer file with a format similar to re2c (http://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.
- OptFlags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables
- Cookie: ecosse.mageia.org 1413421872
- Buildhost: ecosse.mageia.org
Sources packages:
Other version of this rpm: