Dsl - xkp/Doc GitHub Wiki
DSL stands for Domain Specific Language, which means xs allows external languages to be part of your code. Such languages are not necessarily isolated from the language and might use the compilation context. The syntax:
Identifier ([args]) { ... }
Remarks:
DSLs can be used pretty much everywhere in the code, as high level constructs or inside code.
Samples:
method bar(foo)
{
asynch()
{
int result = foo.something_expensive();
synch()
{
lbl.caption = result as string;
}
}
}
In this particular case the dsls are synch and asynch and they would do what they look like they do. Note these are NOT part of the language.