5 points · by leksak · 10y ago · 8 comments
My idea is to write a source-to-source compiler from a Lisp_2 to Rust, but I do not know if it is possible to transpile from a dynamic language to a statically typed language. Is it?
[1] http://dropbox.nakkaya.com/builds/ferret-manual.html [2] http://nakkaya.com/2011/06/29/ferret-an-experimental-clojure... (Old version for more documentation on the idea.) [3] https://en.wikipedia.org/wiki/Literate_programming
GC lang to non-GC lang is a more interesting challenge. If anyone has transpiled a gc lang to C++ I'd love to know how they did it.