a simple pushdown parser implementation in Apex.