From: "James M. lawrence" Date: 2011-02-20T02:51:54+09:00 Subject: Re: LiveAST: a pure Ruby 1.9.2 library for obtaining live abstract syntax trees Stephen Prater wrote in post #982526: > how does this work exactly? It hooks into the require / eval > mechanism and then runs all the code through a separate parser? Kernel#require is not touched. In MRI eval _can_ be replaced, but at the price of syntax restrictions surrounding its use. It would be needless to run _all_ code through a separate parser; only code tied to an AST request is parsed (with RubyParser, though the parser can be replaced). For anyone who's curious, the readme should (I hope) contain enough explanation. -- Posted via http://www.ruby-forum.com/.