bnfc
bnfc copied to clipboard
position token vs --functor
The --functor
CLI option adds position information to the generated AST. It seems to do so except for token
s.
The language position token
makes tokens include position info.
Is there a reason to keep these separate? If so, when would I prefer the token's position info and when would I avoid it?