The simulator of gas-solid transition on the atomic level has an own DSL for describing gas species and surface atomic structures, and reactions between them. DSL allows taking into account lateral interactions between surface structures. Process configuration file written on DSL is analyzing by the parser (on Ruby) and generates high-performance C++ code based on simulator framework classes.
The language description presented here.
DSL interprets by Analyzer and generates a graph of concepts dependencies (for example used examples/simple.rb configuration). The following shows dependency tree between base species (black), specified species (blue), reactions (green), as well as properties of a local environment (purple).
Forest of dependencies between atoms types is presented below
Same as graphs the Analyzer can generate high-performance code which bases of Engine framework. The Engine framework simulates the process by Monte Carlo method. One provides the many generic classes which could be combined (as roles) to ensure necessary behavior.
Versatile Diamond is released under the GPL v3.