A DSL for unit simulation