> one more note, how does groovy within jsr223 sampler would render in this solution (or any other language ) ?
That is a very good question. The dumb way is to add a swing component like "rich text area" (MPS easily allows to integrate swing components), however autocomplete within groovy would be missing. In ${...} I reused "MPS'es base language", so it gave me "java-like expression for free" (e.g. strings, numbers, "adsfadf".hashCode(), etc). The better way might be to express some reasonable subset in a MPS defined way, so it can autocomplete/typecheck/etc. Vladimir