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 | #42 |
To add a new operator to the parser, add it to src/parser/grammar-oper.pg:
proto infix:<**> is tighter(infix:<*>) { ... }
Copyright © 2009 http://www.pmichaud.com/2009/pres/ |