s2c - A Scheme to C transpiler

s2c is an interactive online Scheme to C 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 does not minify C symbols. The source for the tool here provides a switch to allow symbols to be minified. A run time for Scheme primitive functions is provided in s2c-rt.c and accompanies the transpiled source generated by the tool.

Back to Coding Projects

Input Text

Output Text