WIP advanced simplex parser