From: James Edward Gray II Date: 2006-09-24T03:42:51+09:00 Subject: Re: [QUIZ] Code to S-Exp (#95) On Sep 23, 2006, at 1:35 PM, James Britt wrote: > James Edward Gray II wrote: >> On Sep 22, 2006, at 8:04 PM, Ryan Davis wrote: >>> >>> On Sep 22, 2006, at 3:13 PM, Ruby Quiz wrote: >>> >>>> Your mission: Create a function named sxp() that can take a >>>> block (not a >>>> string), and create an s-expression representing the code in >>>> the block. >>> >>> >>> Am I exempt from the quiz? >> Of course not. The real question though is using ParseTree >> cheating, right? ;) > > What about using the sexp library? > > gem install -r sexp Fine with me. Code it up and don't forget to brag about how little time it took. ;) James Edward Gray II