update main -> print the ast after prompting line / beginning the exec part