output ast in parse mode to file

allow parse option of cli to return data to output file without using inspect with colors by returning a stringified version of the abstract sintax tree