A TypeScript-like language for WebAssembly.
APACHE-2.0 License
Bot releases are hidden (Show)
Published by dcodeIO almost 3 years ago
Published by dcodeIO over 4 years ago
radix
argument on Number#toString
--use TheGlobal=
TypedArray.wrap
asinit
-generated tsconfigs, if possiblef32x4/f64x2.ceil/floor/trunc/nearest
Array#flat
definitionsvoid
, null
and undefined
typesasinit
-generated index filePublished by dcodeIO over 4 years ago
seed
import (along abort
and trace
) for seeding the random number generator--noValidate
, --validate
is gone)--noExportMemory
, --initialMemory
, --maximumMemory
, with --sharedMemory
now being a boolean flag)--asmjsFile
command line option to --jsFile
(alias: -j
)import "wasi"
(implements abort, trace, seed)lowMemoryUnused
feature--lowMemoryLimit
option for embedded scenarios with less than one page of memoryStaticArray
to the loaderArray<T>#flat
--yes
option to asinit to accept all promptsmemory.data
to explicitly create static memory segmentssetArgumentsLength
(for varargs calls) only when requiredv128.pmin<T>
, v128.pmax<T>
, v128.abs<T>
, v128.bitmask<T>
incl. their respective inline-assembler variantsasc
respect absolute output pathsPublished by dcodeIO over 4 years ago
Published by dcodeIO over 4 years ago
StaticArray<T>
, a more efficient array variantString#toLowerCase
afterInitialize
transform hook--tableBase
CLI option (like --memoryBase
, but for tables)x instanceof GenericClass
null
related edge cases when inferring array literalsMap#set
and Set#add
with the spec, returning this
wasi_snapshot_preview1
Published by dcodeIO over 4 years ago
__argumentsLength
global introduced in 0.9.0 due to compatibility concerns with node < 12 and Safari. Exporting a __setArgumentsLength
helper function for now. The loader has been updated to recognize both.--explicitStart
has been renamed to _start
(was __start
) to match WASI.__setargc
helper to set the number of arguments to a varargs call has been removed and replaced with an exported mutable global __argumentsLength
. The loader has been updated accordingly.__getInt8Array
etc. functions now copy, and new __getInt8ArrayView
functions with the old behavior have been introduced.call_indirect
builtin has been removed due to expected problems with closures.ES2016
as the target, exposing ES classes instead of ES5 prototypes.--exportTable
flag.exp
, exp2
, log
, log2
and pow
have been replaced with faster variants.String#toUpperCase
, String#toLowerCase
, String#localeCompare
. TypedArray#set
__reset
helper to clear the heap externally.avgr_u
family of instructions.wasi_snapshot
(preview1).And, of course, lots of fixes.
Published by dcodeIO almost 5 years ago
binaryen
and long
min_s
, max_s
, dot_i16x8_s
family of instructionsanyref
typed localsTypedArray.wrap
Array[index]
setsPublished by dcodeIO almost 5 years ago
Due to popular demand, this marks our first release of the standalone (non-prototype) compiler on npm.
Published by dcodeIO over 5 years ago
This is the state before the new runtime functionality landed.