4 ms·
The language Racket (https://racket-lang.org https://racket-lang.org) sort of approaches this. It allows you to quickly switch which compiler a given source fil
by opnitro 8y ago
The language Racket (https://racket-lang.org https://racket-lang.org) sort of approaches this. It allows you to quickly switch which compiler a given source file is actually sent into, the goal being that you solve each problem with sub-languages particularly suited to the task at hand. For instance, the webserver language has HTML build in as a primitive.