On this page:
compile-script
compile-interaction
compile-module
compile-expression
Version: 4.1.5.5

6 Compiling to Scheme

This library implements a JavaScript-to-Scheme compiler. It be can required via:

 (require (planet dherman/javascript:9:2/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.