I have in my hands a Java project that has a parser for some language. And it works very nice to read and parse. But I would like to know if using ANTLR I can also get the other way around, like given a the Java Object go to the string representation of this same object in the language that the parser was built for?
So if I had a CSV parser, I would like to go from the java Object to a CSV file(or string that represents the file).
Not sure if ANTLR is the way to do that.