Recommend this page to a friend! |
Classes of Alexey Dodonov | > | How to Perform PHP Grammar Check on a String Using Mezon Formal Grammar | > | Download .zip .tar.gz | > | Support forum | > | Blog | > | Latest changes |
|
Groups | Applications | Files |
Groups |
Algorithms | Numerical and statistical algorithms | View top rated classes |
PHP 5 | Classes using PHP 5 specific features | View top rated classes |
Text processing | Manipulating and validating text data | View top rated classes |
Validation | Validation algorithms | View top rated classes |
Parsers | Programming language interpreters and format parsers | View top rated classes |
Innovation Award |
January 2022 Nominee Vote |
Some applications need to parse a text that follows specific grammar rules. 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. Manuel Lemos |
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Files |
File | Role | Description | ||
---|---|---|---|---|
Mezon (2 files, 2 directories) | ||||
composer.json | Data | Auxiliary data | ||
infection.json | Data | Auxiliary data | ||
phpunit.xml | Data | Auxiliary data | ||
psalm-self.xml | Data | Auxiliary data | ||
psalm.xml | Data | Auxiliary data |
Files | / | Mezon |
File | Role | Description | ||
---|---|---|---|---|
Rules (1 file, 2 directories) | ||||
Tests (2 files, 2 directories) | ||||
FormalGrammar.php | Class | Class source | ||
StringIterator.php | Class | Class source |
Files | / | Mezon | / | Rules |
File | Role | Description | ||
---|---|---|---|---|
Complex (4 files) | ||||
Terminal (2 directories) | ||||
RuleInterface.php | Class | Class source |
Files | / | Mezon | / | Rules | / | Complex |
File | Role | Description |
---|---|---|
AnyRuleFromSet.php | Class | Class source |
CompoundRule.php | Class | Class source |
RulesInAnyOrder.php | Class | Class source |
RulesSet.php | Class | Class source |
Files | / | Mezon | / | Rules | / | Terminal | / | CharSet |
File | Role | Description |
---|---|---|
OneExactly.php | Class | Class source |
OneExactlyOrNothing.php | Class | Class source |
OneOrMore.php | Class | Class source |
OneOrMoreBase.php | Class | Class source |
OneOrMoreOrNothing.php | Class | Class source |
Files | / | Mezon | / | Rules | / | Terminal | / | Literal |
File | Role | Description | ||
---|---|---|---|---|
CaseInSensitive (3 files) | ||||
CaseSensitive (3 files) | ||||
EmptyString.php | Class | Class source | ||
LiteralBase.php | Class | Class source |
Files | / | Mezon | / | Rules | / | Terminal | / | Literal | / | CaseInSensitive |
File | Role | Description |
---|---|---|
CaseInSensitiveLiteral.php | Class | Class source |
CaseInSensitiveLiteralOrNothing.php | Class | Class source |
CaseInSensitiveLiteralOrNothingBase.php | Class | Class source |
Files | / | Mezon | / | Rules | / | Terminal | / | Literal | / | CaseSensitive |
File | Role | Description |
---|---|---|
CaseSensitiveLiteral.php | Class | Class source |
CaseSensitiveLiteralBase.php | Class | Class source |
CaseSensitiveLiteralOrNothing.php | Class | Class source |
Files | / | Mezon | / | Tests |
File | Role | Description | ||
---|---|---|---|---|
RealLifeCases (1 file) | ||||
Rules (5 files, 2 directories) | ||||
IteratorNextUnitTest.php | Class | Class source | ||
ValidateUnitTest.php | Class | Class source |
Files | / | Mezon | / | Tests | / | RealLifeCases |
File | Role | Description |
---|---|---|
FixPointFloatUnitTest.php | Class | Class source |
Files | / | Mezon | / | Tests | / | Rules |
File | Role | Description | ||
---|---|---|---|---|
CaseSensitive (4 files) | ||||
CharSet (4 files) | ||||
AnyRuleFromSetUnitTest.php | Class | Class source | ||
ComplexConstructorsUnitTest.php | Class | Class source | ||
CompoundRuleUnitTest.php | Class | Class source | ||
EmptyStringUnitTest.php | Class | Class source | ||
RulesInAnyOrderUnitTest.php | Class | Class source |
Files | / | Mezon | / | Tests | / | Rules | / | CaseSensitive |
File | Role | Description |
---|---|---|
CaseInSensitiveLit...NothingUnitTest.php | Class | Class source |
CaseInSensitiveLiteralUnitTest.php | Class | Class source |
CaseSensitiveLiter...NothingUnitTest.php | Class | Class source |
CaseSensitiveLiteralUnitTest.php | Class | Class source |
Files | / | Mezon | / | Tests | / | Rules | / | CharSet |
File | Role | Description |
---|---|---|
OneExactlyOrNothingUnitTest.php | Class | Class source |
OneExactlyUnitTest.php | Class | Class source |
OneOrMoreOrNothingUnitTest.php | Class | Class source |
OneOrMoreUnitTest.php | Class | Class source |
Download all files: mezon-formal-grammar.tar.gz mezon-formal-grammar.zip NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
|