From: Tony Arcieri Date: 2009-07-22T12:03:52+09:00 Subject: Best gem to parse Ruby with? --0016369fa2cad67f37046f429e74 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I've been considering rewriting my require_all gem: http://github.com/tarcieri/require_all/ ...to parse the Ruby source code, extracting a list of constants a particular file defines and a list of constants that are expected to be defined before a file is loaded. The gem can iterate through all files requested to be loaded, generate these lists of constants per file, and from there resolve the proper order that the files should be loaded in, provided all constants are resolvable. This would solve a number of problems with require_all's approach. What's the best gem to do this with? ruby_parser? -- Tony Arcieri medioh.com --0016369fa2cad67f37046f429e74--