From: Eric Hodel Date: 2006-05-02T04:26:14+09:00 Subject: Re: A proposal for Parsing Ruby in Ruby On Apr 28, 2006, at 5:54 AM, Christian Neukirchen wrote: > Kevin Tew writes: > >> The control structure of >> Pugs::Compiler::Rules, continuation passing style(CPS), is easily >> implemented in Ruby using Procs. > > Does that scale given Ruby does not perform tail call optimization? I don't believe I've ever heard of anybody using continuations to implement continuations. Instead they use CPS and callcc falls right out for you. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com