Skip to content

guenchi/ChezJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChezJS Javascript Engine

Compile JavaScript to Native Code (with Chez Scheme as backend)

Compile to .so file:

$ chezjs test.js
compiling test.js.sc with output to test.js.so
$ scheme test.js.so

Repl:

$ chezjs
> const i = 89;
#<void>
> var k = 100;
#<void>
> function f(x, y){x + y;}
#<void>
> f(i, k);
189
>