First work on adaptive parser