Adds grammar.

--HG--
extra : amend_source : 97a7a7faf47f82420ed6a968a1d08083debf691b
Initial implementation.