RPG III/IV grammar