added compiler flags, more ast comments