Parser.Fix.Simple
Description
Simple fix-expression parser
If in doubt, just use parsefix
Documentation
Constructors
| TokenPlain | Plain, i.e. operand |
| TokenLParenth | |
| TokenRParenth | |
| TokenOper Fixity Integer | Operator, with fixity and precedence |
Fixity/Associativity
Constructors
| Prefix | |
| InfixLeft | |
| InfixRight | |
| InfixNull | |
| Postfix |
parsefix :: (t -> a, t -> a -> a, t -> a -> a -> a) -> (t -> TokenType) -> [t] -> aSource
Shunt and Fold