progress on stg parser