|
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")
a := Node("a")
...