Grammar type 1 fully supported
After initial testing, it seems to be fully functional.
Added output info.
Added grammars, fully working