-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Javascript Wrapper for compiling js to jsc. #14
Comments
this is awesome! |
Exactly what I was looking for... Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I made a wrapper for this project using the engine and the javascript provided by emscripten.
https://github.com/TristonStuart/JS_To_JSC
The goal of the wrapper is to allow easy javascript use of the jsc_compile and evaluate functions.
It also allows conversion from the hex string provided to a UTF8 string which reduces the size of the string by half.
The wrapper can import .jsc files, make .jsc files, set the encoding of jsc (either hex, UTF8 raw, or UTF8). The wrapper also has a UTF8 encoding shifted from 0-255 to 183-438 to allow for easier copy and pasting. It can also translate these from their encoding to a byte array.
The text was updated successfully, but these errors were encountered: