NEW grammar compiler