Download the PHP package zippovich2/expressions-parser without Composer
On this page you can find all versions of the php package zippovich2/expressions-parser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zippovich2/expressions-parser
More information about zippovich2/expressions-parser
Files in zippovich2/expressions-parser
Download zippovich2/expressions-parser
More information about zippovich2/expressions-parser
Files in zippovich2/expressions-parser
Vendor zippovich2
Package expressions-parser
Short Description Used shunting-yard algorithm to parse any expressions and RPN(Reverse Polish Notations) to execute it.
License MIT
Package expressions-parser
Short Description Used shunting-yard algorithm to parse any expressions and RPN(Reverse Polish Notations) to execute it.
License MIT
Please rate this library. Is it a good library?
Informations about the package expressions-parser
Expressions Parser
Used shunting-yard algorithm to convert any expressions to RPN(Reverse Polish Notations) and process it.
- Installation
- Predefined parsers
- Arithmetical
- Logical
- Extending
- Custom parser
- Operators
- Types
- Reserved names
- Callbacks
- References
Installation
composer require zippovich2/expressions-parser
Predefined parsers
Arithmetical expressions parser
Logical expressions parser
Extending
Custom parser
Operators
Types
Operator::TYPE_LEFT_ASSOCIATIVE
- left associative.Operator::TYPE_RIGHT_ASSOCIATIVE
- right associative.Operator::TYPE_FUNCTION
- function.Operator::TYPE_LEFT_ASSOCIATIVE
- constant.
Reserved names
An operator cannot be created using the characters (
and )
because it is used for groups
and ,
because it is used for separating function parameters.
Callbacks
You can provide callback for each operator or create global callback to handle all operators.
References
All versions of expressions-parser with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.3
The package zippovich2/expressions-parser contains the following files
Loading the files please wait ....