
| Line: 46 to 46 | ||||||||
|---|---|---|---|---|---|---|---|---|
this to numbers => qr/\d+/. | ||||||||
| Changed: | ||||||||
| < < | ObjectMethod addOperator (%oper) | |||||||
| > > | ObjectMethod addOperator (\%oper) | |||||||
| Add an operator to the parser. | ||||||||
| Changed: | ||||||||
| < < | %oper is a hash, containing the following fields: | |||||||
| > > | \%oper is a hash (or an object), containing the following fields: | |||||||
| ||||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||
| > > | Package
A simple stack-based parser that parses infix expressions with nonary,
unary and binary operators specified using an operator table.
Escapes are supported in strings, using backslash.
| |||||||