YannCaron / JinyParser

A java parser based on combinatoric framework
2 stars 0 forks source link

Clever "GrammarContext" toString method #1

Open YannCaron opened 8 years ago

YannCaron commented 8 years ago

Must manage position and carriage return. Displace it from iterator to context class.

YannCaron commented 8 years ago

Done. Cleverness is very hard to obtain. Because of sens of production aggregation.

YannCaron commented 8 years ago

Infer the productions to provide by node usage in the grammar; more than one, then create a production.