diff file format for grammar