The parser and printer should be able to use alternate names for symbols. For solidity and encapsulation, it should take a (bijective) map as argument.
In the simplest case, this can be just printing m(id) instead of id, and parsing to m-1(token).
Bonus feature would be to allow to specify prefix or infix on top of an alias.
The parser and printer should be able to use alternate names for symbols. For solidity and encapsulation, it should take a (bijective) map as argument. In the simplest case, this can be just printing m(id) instead of id, and parsing to m-1(token).
Bonus feature would be to allow to specify prefix or infix on top of an alias.