SmaCC Rewrite Engine ported from SmaCC-Dolphin-2.0.3