blob: 5577fb3dedec7d6c1904d466b0d37cfb84f50caa (
plain) (
blame)
1
2
3
4
5
6
|
Plex is a Python module for constructing lexical analysers,
or scanners. Plex scanners have almost all the capabilities of
the scanners generated by GNU Flex, and are specified in a very
similar way. Tokens are defined by regular expressions, and each
token has an associated action, which may be to return a literal
value, or to call an arbitrary function.
|