stateless code parser