From: "Jörg W Mittag" Date: 2009-04-23T03:45:13+09:00 Subject: Re: Nexus Programming Language J�rg W Mittag wrote: > David Masover wrote: >> Charles Oliver Nutter wrote: >>> And now that ruby_parser can be used for almost all the offline >>> PT-based tools, there's even less motivation. >> Merb uses ParseTree for something called ActionArgs feature which, as I >> understand it, actually relies on the name of function parameters. For >> example, if you have an action which takes an argument called 'foo', and >> that URL is hit with a querystring like ?foo=bar, it will pass that >> value ('bar', in that case) as that argument. > Actually, this could be much better solved by a well-structured > Signature object � la Python's PEP362 "Function Signature Object": > ... which will appear[1] in Ruby 1.9.2. Nice work! jwm [1] https://GitHub.Com/RubySpec/MatzRuby/blob/trunk/proc.c#L694-710