evanw / evanw/thinscript

Updated wasm target to 0x1 (MVP) format

Open
#16 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
1.4k
Forks
49
PR merge metrics
No merged PRs in 30d

Description

I have a commit [here](https://github.com/dcodeIO/thinscript/commit/b737191dae6997b60e20c7068c0c2b1364f4d027) 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!

![](https://pbs.twimg.com/media/C_wCpc3W0AI31s2.jpg:large)

- 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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.