Command Chaining with Oni?
There are two challenges to implementing so-called command chaining, but only one of them is choosing a linguistically appropriate structural standard and parsing it. The other is the underlying difficulty of processing each individual “clause” in sequence, asynchronously. Alex Fritze blogged about how a project like his own Oni could dramatically simplify this underlying process.
Ubiquity, Oni, and Composability:
but I cannot instruct it to give me list of translated google results:translate (google foo) to German // doesn't workOr email me the resulting list:email(translate (google foo) to German) // doesn't work…So how does Oni relate to this? Oni is a browser-based “embedded structured concurrency framework”. It allows you to write asynchronous code as if it was synchronous, adding back the kind-of composibility that is lost when juggling concurrent strands of execution (such as e.g. pending XMLHttpRequests) with ‘conventional’ sequential languages.
Related posts:
- Exploring Command Chaining in Ubiquity: Part 1
- Exploring Command Chaining in Ubiquity: Part 2
- The
AliensAliases Have Landed - Ubiquity i18n: questions to ask
- Where’s The Verb?
Related posts brought to you by Yet Another Related Posts Plugin.
Tags: asynchronous, code, composition, javascript, Mozilla Planet, recursion, ubiquity
If you enjoyed this post, make sure you subscribe to my RSS feed (optionally with tweets from my Twitter)!
April 29th, 2009 at 12:30 pm
Any chance of being able to do this instead in the future?
google (for) foo and translate (the) results (in)to german translate results from google (for) foo and email translation (to me/self)