Adding a new operator to the parser
To add a new operator to the parser, add it to src/parser/grammar-oper.pg:
proto infix:<**> is tighter(infix:<*>) { ... }
Parrot | Parrot Compiler Toolkit | #52 |
To add a new operator to the parser, add it to src/parser/grammar-oper.pg:
proto infix:<**> is tighter(infix:<*>) { ... }
Copyright © 2008 Patrick Michaud http://www.pmichaud.com/2008/pres/ |