vici: Add a callback based recursive parser function