See https://github.com/montagejs/frb/blob/master/evaluate.js
and https://github.com/montagejs/frb/blob/master/compile-evaluator.js