General library for adding an imperative layer on top of an existing expression EDSL