Implement new parser, close #382, close #332 #387
Many thanks! Your help is great!
I will do my best
Will so some more testing.
It looks your change broke some features but I have no problem with fixing that if parser and bnf are correctly working.
Also the handler which automatically enters the closing pragma is broken. I think because the pragma is now defined in the parser.