I made a demo for Kumi, a business rules DSL implemented in Ruby that compiles to a platform agnostic IR and codegens Ruby and JS modules with no runtime code.