Grammar fully functional