Version 1 by komaz
on Nov 22, 2010 15:28.

compared with
Version 2 by komaz
on Nov 22, 2010 15:33.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (2)

View Page History
{noformat}

Therefore, the most obvious way to use DSL expressions is instantiation of some complex objects. For example, imagine we are writing a library for graph manipulation, so we define classes like {{Graph}}, {{Node}}, and {{Edge}}. See [^Graphs.fan]
Therefore, the most obvious way to use DSL expressions is instantiation of some complex objects. For example, imagine we are writing a library for graph manipulation, and we need to instantiate some graphs for our tests, so we write the code like this:
{noformat}
a := Node("a")