added SMR section to grammar
outline for simulation run
code generation for simulation run