Re:Type-safely embed DSLs directly into Java
by mckinney on Thursday September 17, 2020 @07:29PM
(#24511216)
At compile-time manifold-js[1] parses JS and generates Java types (stubs), which forward execution to rhino at runtime. Basically, JS seamlessly mapped onto Java's type system.
[1] https://github.com/manifold-systems/manifold/tree/master/man...