atom-0.0.2: A DSL for embedded hard realtime applications.
Language.Atom.Example
Description
An example atom design.
Synopsis
compileExample :: IO ()Source
Invoke the atom compiler.
example :: Atom ()Source
Example design introduces a unsigned 16-bit variable, and declares two rules: one to increment the variable, one to reset the variable back to zero when it hits 100.