Ambition query language?

0 views
Skip to first unread message

Robin

unread,
Jan 20, 2008, 2:01:42 PM1/20/08
to ActiveDocument
The AR query language was targeted to SQL and feels a bit crude even
for SQL at times.

Ambition.rb is pure Ruby, uses Ruby2Ruby for compiling, and is already
targeting:

* ActiveRecord
* ActiveLDAP
* Facebook
* XPath
* CouchDB
* DataMapper

Ambition could be a common query language for ActiveDocument too.

I did not see Ambition mentioned here, so I figured I should bring it
up.

My 2 cents,

Robin

Tobias Lütke

unread,
Jan 20, 2008, 3:17:34 PM1/20/08
to actived...@googlegroups.com
Ruby2Ruby, as cute as it is, will probably not run on future
implementations of the ruby language.

--
Tobi
http://shopify.com - modern e-commerce software
http://typo.leetsoft.com - Open source weblog engine
http://blog.leetsoft.com - Technical weblog

Robin

unread,
Jan 20, 2008, 4:57:28 PM1/20/08
to ActiveDocument
That is important to know.

Can you give the reason why Ruby2Ruby will no longer work?

Also, what prevents Ruby2Ruby from being modified to work with future
implementations of Ruby?

Thanks,

Robi

On Jan 20, 2:17 pm, "Tobias Lütke" <tobias.lue...@gmail.com> wrote:
> Ruby2Ruby, as cute as it is, will probably not run on future
> implementations of the ruby language.
>

techno...@gmail.com

unread,
Jan 20, 2008, 6:23:24 PM1/20/08
to actived...@googlegroups.com

Are you offering to work on it? Ambition support would be a great
option to have. It'd be a shame if parsetree/ruby2ruby never got ruby
1.9 or rubinius support.


--
Rick Olson
http://lighthouseapp.com
http://weblog.techno-weenie.net
http://mephistoblog.com

Tony Arcieri

unread,
Jan 25, 2008, 3:57:38 PM1/25/08
to ActiveDocument
On Jan 20, 4:23 pm, technowee...@gmail.com wrote:
> Are you offering to work on it? Ambition support would be a great
> option to have. It'd be a shame if parsetree/ruby2ruby never got ruby
> 1.9 or rubinius support.

It will work on Rubinius. However YARV discards the parse tree after
it's been compiled and bytecode has been generated, so ParseTree/
Ruby2Ruby will not work on 1.9 without changes directly to the VM.

Tony

rick

unread,
Feb 2, 2008, 6:19:30 PM2/2/08
to ActiveDocument

> It will work on Rubinius.  However YARV discards the parse tree after
> it's been compiled and bytecode has been generated, so ParseTree/
> Ruby2Ruby will not work on 1.9 without changes directly to the VM.

Lame! The recent updates to ambition make this idea more attractive.
The possibility of it being incompatible means it should probably be
an optional add-on to AD then.
Reply all
Reply to author
Forward
0 new messages