Version: 4.1.3.3
6 Compiling to Scheme
This library implements a JavaScript-to-Scheme compiler. It be can required via:
(require (planet dherman/javascript:9:0/compile)) |
(compile-script elts) → syntax? |
elts : (listof SourceElement?) |
Compiles a JavaScript script to Scheme.
(compile-interaction elts) → syntax? |
elts : (listof SourceElement?) |
Compiles a JavaScript REPL interaction to Scheme.
(compile-module elts) → syntax? |
elts : (listof SourceElement?) |
Compiles a JavaScript module to Scheme.
(compile-expression expr) → syntax? |
expr : Expression/X? |
Compiles a JavaScript script to Scheme.