AssemblyScript
AssemblyScript is TypeScript-like language that is compiled to WebAssembly (wasm)
| Type | object |
|---|---|
| File match |
asconfig.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/assemblyscript/latest.json |
| Source | https://www.schemastore.org/asconfig-schema.json |
Validate with Lintel
npx @lintel/lintel check
Properties
41 nested properties
Optimizes the module
How much to focus on optimizing code
How much to focus on shrinking code size
Re-optimizes until no further improvements can be made
Specified the bindings to generate
Enables source map generation. Optionally takes the URL
Specifies the runtime variant to include in the program
Disallows the use of unsafe features in user code
Enables debug information in emitted binaries
Replaces assertions with just their value without trapping
Performs compilation as usual but does not emit code
Imports the memory provided as 'env.memory'
Does not export the memory as 'memory'
Sets the initial memory size in pages
Sets the maximum memory size in pages
Declare memory as shared. Requires maximumMemory
Assume that imported memory is zero filled. Requires importMemory
Sets the start offset of compiler-generated static memory
Imports the function table provided as 'env.table'
Exports the function table as 'table'
Sets the trap mode to use
Skips validating the module using Binaryen
Enables WebAssembly features that are disabled by default
Disables WebAssembly features that are enabled by default
Make yourself sad for no good reason
Prints measuring information on I/O and compile times
Disables terminal colors
Exports the runtime helpers (__new, __collect etc.)
Exports the runtime helpers (__new, __collect etc.)
Enforces very low (<64k) memory constraints
Sets the start offset of emitted table elements
Definitions
Optimizes the module
How much to focus on optimizing code
How much to focus on shrinking code size
Re-optimizes until no further improvements can be made
Specified the bindings to generate
Enables source map generation. Optionally takes the URL
Specifies the runtime variant to include in the program
Disallows the use of unsafe features in user code
Enables debug information in emitted binaries
Replaces assertions with just their value without trapping
Performs compilation as usual but does not emit code
Imports the memory provided as 'env.memory'
Does not export the memory as 'memory'
Sets the initial memory size in pages
Sets the maximum memory size in pages
Declare memory as shared. Requires maximumMemory
Assume that imported memory is zero filled. Requires importMemory
Sets the start offset of compiler-generated static memory
Imports the function table provided as 'env.table'
Exports the function table as 'table'
Sets the trap mode to use
Skips validating the module using Binaryen
Enables WebAssembly features that are disabled by default
Disables WebAssembly features that are enabled by default
Make yourself sad for no good reason
Prints measuring information on I/O and compile times
Disables terminal colors
Exports the runtime helpers (__new, __collect etc.)
Exports the runtime helpers (__new, __collect etc.)
Enforces very low (<64k) memory constraints
Sets the start offset of emitted table elements