Skip to content

Updated wasm target to 0x1 (MVP) format #16

@dcodeIO

Description

@dcodeIO

I have a commit here that implements the 0x1 format but as there's no license, yet, I am holding back the PR for now to not complicate things even further. Aside from that, thinscript is the most refreshing piece of code I've seen in a while and I'd love to continue working on it!

  • Updated output files to use the 'WebAssembly' API

  • Added optional tracing to wasm target for debugging purposes

  • Fixed a couple of wasm target issues (and probably introduced new ones)

  • Extended wasm custom name section support

  • Implemented additional convenience utility

  • Implemented a few simple wasm specific compiler optimizations

  • Tweaked source files for TypeScript syntax compatibility where applicable

  • Changed the js target's generated iife signature from (__declare, __extern) to (__imports, __exports)

P.S.: Did I mention how awesome this project is?

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