s2js - A Scheme to Javascript transpiler

s2js is an interactive online Scheme to JavaScript transpiler. The tool is provisional and expects the Scheme source code to be mostly in an imperative style. At this point the tool is adequate to fully compile the source code for the JSRender3D project. This online interactive JavaScript version is pretty fast due to WebAssembly. The tool by default minimizes JavaScript symbols. The source for the tool here provides a switch to allow symbols to remain unminified. A run time for Scheme primitive functions is provided in rt.js and accompanies the transpiled source generated by the tool.

Back to Coding Projects

Input Text

Output Text