Fixed:

--exportAST now works without -c
--exportAST will now use stdout when not given a file (previously the file stdout was generated)
-c and --exportAST will now compile and export the AST (previously only the AST was exported)