Author: Manuel Lemos
Package: Mezon Formal Grammar
This package allows developers to dynamically create their own grammar rules using classes that implement simple grammar rules.
Then the package can validate a string to check if it complies with the grammar rules defined dynamically.
About the Mezon Formal Grammar Package
The basic purpose is: Validate a string according to your grammar rules
Here follows in more detail what it does:
This package can validate a string according to your own grammar rules.
It provides classes that can compose a set of text grammar rules.
The package can also validate a given text string according to those rules.
It provides built-in classes that implement several rules to compose a more complex grammar. Currently, it provides classes to:
- Match case sensitive text
- Match text from a given character set
- Match any rule from a set of rules
- Match rules from a complex set of rules
- Match a compound set of rules
- Match an empty string
- Match a set of rules in any order
- Match precisely one character
- Match precisely one character or nothing
- Match one or more characters
- Match one or more characters or nothing
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
1,611,081 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on: