On 9/20/07, Noel J. Bergman <[EMAIL PROTECTED]> wrote:
>
> Matthieu Riou wrote:
>
> > 2. Build a simple language, sort of equivalent to BPEL but easier on
> > the eyes. Something like:
> >
> > process HelloWorld {
> > client.receive => request
> > var replyVar = concat('Hello ', request)
> > client.reply <= replyVar
> > }
>
> Is there anything existent that would be suitable? You want something
> that
> maps well with BPEL, but what else?
Another DSL but definitely non XML-ish. With emphasis on terseness,
readability (there's a good balance to find here) and smart defaults. I
first thought of an internal DSL based on an existing flexible language
(Ruby, Javascript) but that doesn't work. An external DSL is necessary.
What are the available datatypes and operations in your theoretical
> language? I have some thoughts, but want to see responses first.
As I said it must map to BPEL and therefore to XML schemas. We can have
primitive types for each xsd simple types (string, int, float, etc...) and
native support for the XML datatype (like in E4X).
The operations and control structures are the classic ones plus the ones we
have in BPEL: if, while but also invoke, receive, scope (somewhat similar to
a { ... } block), compensate, etc... Higher level constructs could also be
interesting but I'd go with a basic set first and then see what can emerge.
Similar to what you were thinking?
Matthieu
--- Noel
>
>
>