unagi-san was actually suggesting something similar but not identical to squirrel (which is why wycats pointed it out)
http://gist.github.com/54923 either contained syntax being possible (depending on whether we want to patch Array). the nice thing about this is that it mainly focuses on blocks, and property objects (where the various comparators would be defined, including fun things like an "in?" method, for use like this: color.in? ["blue", "green", "red", "yellow"]) It's a handy syntax. And on top of that it's still fairly compact when using bracketed block syntax, rather than a do block. It totally gets my vote :) +1 for squirrel inspired syntax -Ted On Thu, Jan 29, 2009 at 8:24 PM, Greg Campbell <[email protected]> wrote: > > Wycats mentioned Squirrel in IRC, and it might be worth a look for > some potential inspiration: http://www.thoughtbot.com/projects/squirrel > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
