Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guenchi/ChezJS
Compile JavaScript to Native Code
https://github.com/guenchi/ChezJS
chez-scheme compiler javascript
Last synced: about 2 months ago
JSON representation
Compile JavaScript to Native Code
- Host: GitHub
- URL: https://github.com/guenchi/ChezJS
- Owner: guenchi
- License: mit
- Created: 2018-09-04T01:37:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-29T01:31:59.000Z (almost 5 years ago)
- Last Synced: 2024-04-04T13:46:55.911Z (9 months ago)
- Topics: chez-scheme, compiler, javascript
- Language: Scheme
- Homepage:
- Size: 61.5 KB
- Stars: 30
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-racket-and-scheme - ChezJS
README
# 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;
#
> var k = 100;
#
> function f(x, y){x + y;}
#
> f(i, k);
189
>
```