PHPackages                             shinobu/jlex-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. shinobu/jlex-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

shinobu/jlex-php
================

Lexer Generator for PHP

0185Java

Since Dec 18Pushed 9y ago1 watchersCompare

[ Source](https://github.com/shinobu/JLexPHP)[ Packagist](https://packagist.org/packages/shinobu/jlex-php)[ RSS](/packages/shinobu-jlex-php/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

```
--
This Fork is made for use on https://github.com/shinobu/PHP-SparqlParser
It is based on https://github.com/kuma-giyomu/JLexPHP Fork from https://github.com/wez/JLexPHP/
merged with the actual Version from wez.
--
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
