WQLite WQL
--------- -----------
foo {"match":"foo"}
type:Ticket foo {"type":"Ticket", "match":"foo"}
name:Bug_1 {"name":"Bug 1" }
->JohnAbbe {"refer_to":"JohnAbbe"}
type:Ticket +status:open {"type":"Ticket", "right_plus":["status",{"content":"open"}}
type:Ticket +tags->Wagn_1.0 {"type":"Ticket","right_plus":["tags",{"refer_to":"Wagn 1.0"}]}
which would YOU rather write? ;-)
note: I don't see this as replacing WQL- it wouldn't be able to cover the depth and nuance; but it could make a lot of the commons cases much more palatable for users who'd be on the edge of using it.
--Lewis Hoffman.....Sat Sep 27 21:08:29 -0700 2008
I'm with you on the general idea of there being a WQLite, though I think the name is misleading. It's not a separate implementation like SQLite, it's just a shorthand notation (like...selenese?). WQL, to me, is already an abstract object representation -- neither the ruby nor the JSON is the "real" version. I don't have a great alternative yet, but maybe something like Quikwuk, Wukwuk, or WQLhandy.
I have bigger problems with particulars of the suggestions above.
Eg, , in wql, "foo" means the card named "foo". if "foo" means any card matching foo (as you said above), then wouldn't "->foo" mean any card pointing to any card matching foo?
That one's easy. ~foo should = {:match=>'foo'} The more conceptual issues come with (a) the use of unreserved characters (which we could resolve by forcing it to use only alpha numerics in the card names, resolving them always to keys), and (b) the lack of exploration of more complex cases, which I suspect will still need to involve {}'s and []'s or some alternative (such as significant whitespace).
Unless the shorthand can do it all, I wouldn't really want to code it up.
Then there are some other big questions about what this would mean in terms of interface. Would we initially just get rid of the JSON interface?
--Ethan McCutchen.....Mon Sep 29 09:57:09 -0700 2008
--Ethan McCutchen.....Mon Sep 29 11:28:47 -0700 2008
--John Abbe.....Mon Sep 29 14:35:45 -0700 2008