May 26, 2018

The Fastest Lexer in the West

ParseFlex works similar to ParseLex, but it uses XS for faster performance.

This module allows you to construct a lexer analyzer with your custom rules. ParseFlex is not intended to be used directly; instead, use the script to submit your grammar file. The output of the script is a custom shared library and a custom .pm module which, among other things, will transparently load the library and provide interface to your custom lexer. In other words, you supply a grammar.l file to and you receive and . Then, use only the - since will automatically load

The grammar.l file requires the same syntax as flex1; that is, the actions are written in C . See the flex1 documentation to learn the syntax, or fetch the sample t/grammar.l file inside this package.

WWW http//