assemblyscript
assemblyscript copied to clipboard
A TypeScript-like language for WebAssembly.
Implementation for https://github.com/AssemblyScript/assemblyscript/issues/2348 - [x] I've read the contributing guidelines - [ ] I've added my name and email to the NOTICE file
Hello! I was following your "Getting started" [guide](https://www.assemblyscript.org/getting-started.html#getting-started) step by step and faced with next error on attempt to run `npm start` : `Unexpected token '.'` Here is screenshot of...
Example: ```ts function foo(arr: TArr): valueof { type T = valueof; // doesn't work yet "ERROR AS100: Not implemented: Inner type alias" let element: T = arr[0]; return element; }...
This extra stage run immediately after AST creation and process following tasks: - ~~Desugaring for top-level non-exported to host, non-mutable (const) `FunctionExpression` to `FunctionDeclaration` with preserving order.~~ - Destructive assignment...
``` $ time asc --version Version 0.20.6 ________________________________________________________ Executed in 2.32 secs fish external usr time 7.88 secs 0.00 micros 7.88 secs sys time 0.15 secs 951.00 micros 0.15 secs...
It's pretty frequent mistake during migration from 0.19.x to 0.20.x. - [x] I've read the contributing guidelines - [x] I've added my name and email to the NOTICE file
Currently enum has a fixed type which is i32. I propose to use a variable type, which will be deduced from the dynamic range of enum items. Like: ```ts export...
Signed-off-by: Jesse the main purpose for this PR is increase the testing coverage for parser.js this enhancement comes from issue [2374](https://github.com/AssemblyScript/assemblyscript/issues/2374) - [x] I've read the contributing guidelines - [x]...
During my testing, I found we have some dead code in the project and can we have a discuss how can we handle it properly? I will give an example...