PHPackages                             progminer/jlex-php-lib - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. progminer/jlex-php-lib

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

progminer/jlex-php-lib
======================

PHP classes for JLexPHP generated lexers

013PHP

Since Aug 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ProgMiner/jlex-php-lib)[ Packagist](https://packagist.org/packages/progminer/jlex-php-lib)[ RSS](/packages/progminer-jlex-php-lib/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

```
JLexPHP: a Lexical Analyzer Generator for PHP, based on JLex.
For copyright and licensing information, see the COPYING file.

This is an adaptation of some Java code that generates lexers from lex style
input files.

The porting effort was pretty trivial, with the hardest part being the buffer management.

Usage is fairly typical of lexers; you'll want to create a lexer file like this:

----8
