set up basic data structures used in compiler