Print the whole AST on the CORBA format for records, e.g. record Absyn.PROGRAM classes = ..., within_ = ..., globalBuildTimes = ... end Absyn.PROGRAM;
function getAstAsCorbaString input String fileName = "<interactive>"; output String result "returns the string if fileName is interactive; else it returns ok or error depending on if writing the file succeeded"; end getAstAsCorbaString;