Prune www/mod_log_config-st
[dports.git] / textproc / p5-Parse-Flex / pkg-descr
1 Parse::Flex works similar to Parse::Lex, but it uses XS for faster
2 performance.
3
4 This module allows you to construct a lexer analyzer with your custom
5 rules. Parse::Flex is not intended to be used directly; instead, use the
6 script makelexer.pl to submit your grammar file. The output of the script
7 is a custom shared library and a custom .pm module which, among other
8 things, will transparently load the library and provide interface to your
9 (custom) lexer. In other words, you supply a grammar.l file to
10 makelexer.pl and you receive Flex01.pm and Flex02.so . Then, use only the
11 Flex01.pm - since Flex01.pm will automatically load Flex01.so.
12
13 The grammar.l file requires the same syntax as flex(1); that is, the
14 actions are written in C . See the flex(1) documentation to learn the
15 syntax, or fetch the sample t/grammar.l file inside this package.
16
17 WWW: http://search.cpan.org/dist/Parse-Flex/