PHP-PEAR::PHP_ParserGenerator in Version 0.1.5 alpha veröffentlicht

PHP-PEAR::PHP_ParserGenerator in Version 0.1.5 alpha veröffentlicht

Translate a grammar file in the lemon parser generator format
into a PHP 5-based parser

There are a few PHP-specific changes to the lemon parser generator.

- %extra_argument is removed, as class constructor can be used to
pass in extra information

– %token_type and company are irrelevant in PHP, and so are removed

– %declare_class is added to define the parser class name and any implements/extends information

– %include_class is added to allow insertion of extra class information
such as constants, a class constructor, etc.

Other changes make the parser more robust, and also make reporting
syntax errors simpler. Detection of expected tokens eliminates some
problematic edge cases where an unexpected token could cause the parser to simply accept input.

Otherwise, the file format is identical to the Lemon parser generator

Release date: 2007-03-05 17:20 UTC

Release state: alpha

Changelog:

– fix Bug #10245: if multiple RHS identifiers are the same, no error

- fix Bug #10260: exception instead of helpful error message

Dependencies:

  • PHP Version: PHP 5.1.0 or newer
  • PEAR Package: PEAR Installer 1.4.3 or newer

Weitere Info und Download auf der PEAR-Homepage








XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Blogroll

Lorem ipsum

These 3 boxes are widgets and can be edited through the admin page, just like the sidebar.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Impressum