assemblyscript
assemblyscript copied to clipboard
A TypeScript-like language for WebAssembly.
Per https://github.com/AssemblyScript/assemblyscript/issues/1473, Im stated to implement destructuring assignment. At this step, I will implement the array destructuring. Please feel free to comment on the progress. - [x] I've read the...
- fix https://github.com/AssemblyScript/assemblyscript/issues/1712 - [x] I've read the contributing guidelines
# ISSUE Webpack is used to generate the bundle in `dist/` folder, that is included in the `npm` package. However, when users install the package in their project `npm install...
Hi there! This PR adds support for providing custom Transforms directly to the compiler frontend. A new optional parameter is added to `compileString` and a new prop is added to...
As a follow-up to today's meeting discussion about bindings, here's a little mad science binding AssemblyScript classes to `externref` objects. The interesting parts are * `loader.bind` to make useful imports...
relates to #1308 relates to https://github.com/AssemblyScript/working-group/issues/41 As discussed in the working group meeting, this moves the Tests that are being added / modified in the current AssemblyScript Closures PR #1308...
An implementation of the suggestion in https://github.com/AssemblyScript/assemblyscript/issues/1367, loading a file specified via `--memoryData` into static memory at memoryBase. Open questions: * Do we need constants like `ASC_MEMORY_DATA_OFFSET` and `ASC_MEMORY_DATA_LENGTH` to...
In https://github.com/AssemblyScript/assemblyscript/pull/1240 it came up that the way we free temporary locals for reuse during compilation is both unexpected for developers new to the codebase as well as hard to...
This adds a little `ScopeAnalyzer` doing a pre-pass on functions, analyzing variable scopes within. Will be helpful to tackle https://github.com/AssemblyScript/assemblyscript/pull/1190 in a more robust way as well as to obtain...
This PR adds support for [nullish coalescing](https://github.com/tc39/proposal-nullish-coalescing/) and [optional chaining](https://github.com/tc39/proposal-optional-chaining/) to the parser. Not implemented in the compiler yet because it can't yet short-circuit.