Commit Graph

  • 65c4acd2d4 Skip over duplicate '| null's on nullable types dcode 2019-01-30 10:56:22 +01:00
  • 7877661f35 Emit an error when declaring a nullable basic type (for now) dcode 2019-01-30 10:22:15 +01:00
  • 53db37f2e8 Update CONTRIBUTING.md dcode 2019-01-30 10:09:56 +01:00
  • d843772314 Implement non-null assertions (#443) Daniel Wirtz 2019-01-30 09:56:13 +01:00
  • 2fe228ff00 Cache strings shared with Binaryen dcode 2019-01-27 02:08:04 +01:00
  • 918a40eb7d Make asinit understand '--help', fixes #427 dcode 2019-01-26 12:40:42 +01:00
  • b7c7be1fe9 Add shared memory definitions and initial API (#435) Nidin Vinayakan 2019-01-25 10:50:55 +01:00
  • c7441066dc Minor math tweaks + ipow32f/ipow64f (#428) Max Graey 2019-01-25 00:17:44 +02:00
  • 9a3763df32 Update dist files dcode 2019-01-24 13:34:11 +01:00
  • d709cf3dff Improve decorator declarations (#426) Max Graey 2019-01-24 09:39:15 +02:00
  • 3b1852bc37 Implement TypedArray#every/some/findIndex and improve map/reduce/reduceRight (#433) jtenner 2019-01-24 02:33:22 -05:00
  • d3715688fc Fix Math.imul and add tests (#432) Max Graey 2019-01-24 02:23:53 +02:00
  • 54b02c287c Fix functional Array & String methods and avoid buffer caching (#415) Max Graey 2019-01-17 02:34:09 +02:00
  • df3b2befd7 Support type names with enclosed dots, see #423 dcode 2019-01-17 00:37:28 +01:00
  • 72dc26e255 Optimize builtin abs for integers (#420) Max Graey 2019-01-15 19:22:24 +02:00
  • 2aa5c437c7 Properly set up memory if memoryBase is specified even if there are no static segments, fixes #414 dcode 2019-01-11 21:54:59 +01:00
  • 201bd5f2b1 Implement String#slice (#404) LiaoPeng 2019-01-10 19:10:23 +08:00
  • d82995c686 Improve mandelbort example (#308) Max Graey 2019-01-09 18:26:31 +02:00
  • 2ec89ee669 Add typings for second argment of demangle (#385) kazuya kawaguchi 2019-01-09 21:18:17 +09:00
  • e3e0fe8045 Improve portables (#386) Max Graey 2019-01-09 14:17:18 +02:00
  • 9ec226de1b Fix possible use after free in Array#forEach if the array resizes halfway (#408) LiaoPeng 2019-01-09 20:06:34 +08:00
  • 20f4092eb2 Update Binaryen and other dependencies; Update dist files dcode 2019-01-09 13:02:47 +01:00
  • f714afab3c Implement explicit this type (#373) Daniel Wirtz 2019-01-09 12:45:29 +01:00
  • d5f72e32d7 Add initial definitions for SIMD ops dcodeIO 2018-12-14 08:17:08 +01:00
  • 8e61e0ead8 Improve reallocateUnsafe and properly free unmanaged objects (#368) Max Graey 2018-12-09 00:54:45 +02:00
  • 3ed83ef3ae Use macro style for more internal helpers; Update dist files dcodeIO 2018-12-08 23:38:49 +01:00
  • b585703eae Replace more RawGit links dcodeIO 2018-12-08 04:01:17 +01:00
  • 0062ee1a93 Replace RawGit with jsDelivr (#366) jsDelivr Bot 2018-12-07 19:41:02 +01:00
  • 117cc1629b Implement TypedArray#map (#365) jtenner 2018-12-07 13:40:21 -05:00
  • 86c084a519 Use a symbol for the this pointer on wrapped loader classes, see #363 dcodeIO 2018-12-07 17:55:31 +01:00
  • 429435c5b1 Improve demangling of class methods when using the loader (#363) kazuya kawaguchi 2018-12-08 01:20:28 +09:00
  • 934f05eed9 Optimize array functional loops (#359) Max Graey 2018-12-07 16:37:33 +02:00
  • ebae7cbd73 Implement optional type parameters (#360) Daniel Wirtz 2018-12-07 14:33:32 +01:00
  • d7f4874650 Implement TypedArray#reduce/reduceRight (#352) jtenner 2018-12-05 11:53:31 -05:00
  • ced01216f8 Use baseDir as another parameter to readDir etc. to simplify compatibility between asc running under node and in the browser, see #354 dcodeIO 2018-12-03 19:29:49 +01:00
  • aedc821c09 Process backlog once more after Transform#afterParse, see #356 dcodeIO 2018-12-03 17:22:01 +01:00
  • 6ed45bee98 Expose the full API for now, see #356 dcodeIO 2018-12-02 23:46:32 +01:00
  • d5a6bbca9b Add missing definitions for Uint8ClampedArray dcodeIO 2018-12-01 19:49:00 +01:00
  • 4c35dd6f7c Fix partial function prototypes not sharing their instances dcodeIO 2018-12-01 19:46:10 +01:00
  • 0e33806cf6 Add a way to ensure that lazy globals are resolved, fixes #355 dcodeIO 2018-12-01 13:31:37 +01:00
  • a661ff7d89 Update Binaryen to latest dcodeIO 2018-12-01 03:09:43 +01:00
  • 9744c319c7 Fix an issue with 'super' not being present when inlining dcodeIO 2018-12-01 00:07:44 +01:00
  • 5c39043f9e Add a test suite option to also generate binaries dcodeIO 2018-11-30 17:51:49 +01:00
  • bf7dd1a64f Document the use of two type parameters in loadUnsafe, TypedArray etc., see #349 dcodeIO 2018-11-30 01:12:01 +01:00
  • 3c5c2cef80 Fix implementation of Array#splice (#347) Max Graey 2018-11-29 16:41:42 +02:00
  • 1149abf824 Add 'instantiate<T>' builtin (like 'new' but from a type), see #349 dcodeIO 2018-11-29 15:28:08 +01:00
  • 1d93877e7c Fix unsupported element access on 'this', see #349 dcodeIO 2018-11-29 13:12:06 +01:00
  • 7596d73284 Shortcut f32/f64/i64 conversions to bool dcodeIO 2018-11-23 16:01:50 +01:00
  • c30c62e383 Cast to bool by comparing to zero (#343) Daniel Wirtz 2018-11-23 15:20:52 +01:00
  • b723ff3e88 Update Binaryen to latest dcodeIO 2018-11-22 17:15:22 +01:00
  • 21675ec162 Update dist files dcodeIO 2018-11-19 12:29:07 +01:00
  • 6393921c12 Fix unsafeCompare (#336) Max Graey 2018-11-19 13:23:45 +02:00
  • 4944280cdc Add Math.signbit (#333) Max Graey 2018-11-18 12:46:48 +02:00
  • 1928404f3b Add ArrayBuffer/DataView/Symbol#toString and improve Errors (#332) Max Graey 2018-11-18 12:43:44 +02:00
  • a79db87af9 Fix parsing of properties and field names using semi-reserved keywords dcodeIO 2018-11-13 08:48:10 +01:00
  • 4289683946 Handle the case where an inlined body is empty dcodeIO 2018-11-12 17:30:28 +01:00
  • d62d84521e Reduce inlining verbosity dcodeIO 2018-11-12 14:54:08 +01:00
  • 04a0cb8de7 Remove left-over line in std Array dcodeIO 2018-11-12 12:45:44 +01:00
  • c93f02df69 Update dist files dcodeIO 2018-11-12 09:15:16 +01:00
  • 5fccd080c7 Improve std Error compatibility dcodeIO 2018-11-12 09:11:45 +01:00
  • 84ffa91db9 Add bounds checks to DataView and fix some lint issues dcodeIO 2018-11-12 09:11:04 +01:00
  • 1882679807 Implement Array.isArray and Array#copyWithin (#331) Max Graey 2018-11-12 08:45:40 +02:00
  • 4e89456dcb Add more numeric builtins (#330) Max Graey 2018-11-12 08:42:28 +02:00
  • 3f9758f35a Add DataView to standard library (#316) Linus Unnebäck 2018-11-12 06:41:04 +00:00
  • 6f3209e6c6 Fix imported memory fallback and add common stdlib imports to loader dcodeIO 2018-11-11 10:44:09 +01:00
  • 9ab7384122 Improve date binding compatibility dcodeIO 2018-11-11 10:43:17 +01:00
  • 1fad3d26c7 Add initial Date bindings dcodeIO 2018-11-10 14:40:58 +01:00
  • 410036e445 Use mixed Horner scheme in Math.exp/expm1 to improve instruction parallelization (#311) Max Graey 2018-11-09 18:56:42 +02:00
  • 54311fd0ab Improve bswap implementation (#323) Max Graey 2018-11-09 18:51:32 +02:00
  • 63b64ba69e Respect current byteOffset in Array#subarray (#329) Linus Unnebäck 2018-11-09 11:29:39 +00:00
  • 4f95dce6e2 Do not emit debug info by default dcodeIO 2018-11-09 12:28:10 +01:00
  • d93ca84aed Correct TypedArray#byteOffset handling and fix TypedArray#subarray (#328) Max Graey 2018-11-09 00:19:41 +02:00
  • 2ecec660d2 Mention exporting memory utilities more prominently in loader readme, fixes #318 dcodeIO 2018-11-08 11:54:36 +01:00
  • 7cfc43ccbf Update Mandelbrot fiddle Max Graey 2018-11-08 12:19:53 +02:00
  • 38df5841e1 Update dist files dcodeIO 2018-11-08 08:26:31 +01:00
  • b924c152c5 Fix fallback to imported memory in loader, fixes #322 dcodeIO 2018-11-08 08:23:00 +01:00
  • c6447e3c3b Update dependencies and tackle package-lock weirdness, fixes #319, fixes #321 dcodeIO 2018-11-08 08:16:16 +01:00
  • 2bdc2a72f1 Use stack IR when emitting text format (#312) Daniel Wirtz 2018-11-08 08:04:24 +01:00
  • 7135af36bd Update linting instructions to reference new script name (#320) Linus Unnebäck 2018-11-07 19:44:38 +00:00
  • ef3b47d91c Update portable constants (#313) Max Graey 2018-11-01 02:51:03 +02:00
  • 2062caef2c Update dist files dcodeIO 2018-10-30 15:30:49 +01:00
  • dc4e2060ba Add unary postfix operator overloading (#309) Max Graey 2018-10-30 16:23:18 +02:00
  • d864bef1eb Improve per-bit divmod loop for mod & rem (#307) Max Graey 2018-10-30 16:10:50 +02:00
  • d864977a1a Add Array#concat and add a return type for Array#push (#214) LiaoPeng 2018-10-30 22:07:53 +08:00
  • c11605d10c Fix OC tiers in README dcodeIO 2018-10-30 15:04:17 +01:00
  • 6f8a0fe03a Rework compileUnaryPostfixExpression dcodeIO 2018-10-29 20:06:21 +01:00
  • 0bb5cb829e Support definite assignment assertion x!: i32 (#260) Andy Hanson 2018-10-27 09:29:59 -07:00
  • e58582e9e9 Minor remquof improvemnts (#306) Max Graey 2018-10-27 19:27:54 +03:00
  • 83fa12164f Add TypedArray#fill (#274) Max Graey 2018-10-26 19:28:31 +03:00
  • afb8fe7762 Update Rust n-body build (#294) Max Graey 2018-10-26 19:25:09 +03:00
  • 376afd45fc Improve Math routines; Add Mathf-specific prng (#297) Max Graey 2018-10-26 01:10:17 +03:00
  • 4683599a82 Improve loader function table handling dcodeIO 2018-10-20 15:40:23 +02:00
  • c4d7764851 Add lib/loader/ to package.json (#273) Sylvain Corsini 2018-10-20 12:39:59 +02:00
  • 711f73b15d Implement String#split (#301) Max Graey 2018-10-18 20:05:35 +03:00
  • 086d96b299 Fix variable arguments handling with setargc in loader dcodeIO 2018-10-11 17:55:11 +02:00
  • 87ec6c59ce Update examples dcodeIO 2018-10-11 09:09:56 +02:00
  • be5073aba5 Update parse/lint dependencies dcodeIO 2018-10-11 09:04:34 +02:00
  • 420592eacb Update dist files dcodeIO 2018-10-11 08:57:19 +02:00
  • f7c734789e Update Binaryen to latest; Various fixes Daniel Wirtz 2018-10-11 08:49:08 +02:00
  • b54a97c0fe Fix a typo and a signature in loader README dcodeIO 2018-10-11 08:22:20 +02:00