o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o o o o Parse::Lex.pm/Parse::Token.pm - 2.01 o o o o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o The Parse::Lex.pm module for perl5 is an object-oriented generator of lexical analyzers. *************************WARNING!************************************* * The Parse::Lex class doesn't work if your perl version is lower * * than 5.004. In this case, use the Parse::CLex class instead. * ********************************************************************** A collection of examples demonstrating various Parse::Lex features can be found in the "examples" directory. Copyright (c) 1995-1998 Philippe Verdret. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -- Philippe Verdret Vladimir Alexiev and Ocrat for the English translation of the pod documentation. ___________________________ HOW TO BUILD and INSTALL IT % perl Makefile.PL % make % make test % make install _____________________________________ CHANGES, ESPECIALLY INCOMPATIBILITIES MODIFICATIONS SINCE VERSION 1.19 o New class: Parse::Template o Parse::Lex - In the anonymous function the entire match is now available in $&, and not in $1. - Start Conditions à la Flex - new methods: start() end() restart() - Other new methods getToken() (synonymous with token()) analyze() - The following Methods have been renamed Old name New Name --------------------------------------------- getstring getText setstring setText getbuffer getBuffer setbuffer setBuffer getsub getSub settoken setToken Parse::Lex::newSet Parse::Token::factory - You can undefine the inter-token REGEXP. o Parse::Token - new methods factory() condition() - The following Methods have been renamed Old name New name --------------------------------------------- mean action MODIFICATIONS SINCE VERSION 1.18 o Parse::Lex - Evolutions - Documentation enhancements (thanks to Christian Schultze) - Internal enhancements Parse::Lex and Parse::CLex are derived from the Parse::ALex Class. o Parse::Token - Evolutions - Internal enhancements MODIFICATIONS SINCE VERSION 1.17 Minor enhancements MODIFICATIONS SINCE VERSION 1.16 o Parse::Lex - Evolutions - documentation enhancements - new methods: settoken() replaces the deprecated method tokenis(). o Parse::Token - Evolutions - documentation enhancements - new methods: text(EXPR)/text() o Parse::Lex - Bugs - "Makefile" problems