Now I am not the reason why the context is needed for XML parsing.
But QiYacc can use context using global variables. It would be cleaner if you can pass the state, S, in the parser, for example. or something like that. This is not in Qi, but I plan to implement such a function for Shen.
.
/Stefan
stefan I tampe