start toplevel definitions parsing