From: Tobias Reif Date: 2002-01-14T05:07:56+09:00 Subject: Re: Markus' ruby-parser (part 2) Mathieu Bouchard wrote: > Note that I still would like RubySchema to be able to represent everything > that can be parsed by a Ruby parser such that it can be unparsed back to > source with as much fidelity as possible to the original code that was > parsed. The only information i want to lose is whitespace and comments and > a pair of parens here and there. I want to keep "if not" separate from > "unless" and that kind of thing. Would it's serialization method (offer various options for) pretty print(ing)? > So... I await your feedback with (im)patience. I'd like to use it where my program is generating Ruby code (no parsing involved). So it * should be easy, intuitive and convenient to use; * should offer a complete set of classes and methods, so that any Ruby program can be generated (including comments, shebangs and all); * 's serialization method(s) should offer some control over layout: pretty printing; multiple files and locations; etc. excited, Tobi -- http://www.pinkjuice.com/