Skip to content

Javascript Wrapper for compiling js to jsc. #14

@TristonStuart

Description

@TristonStuart

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions