640 Commits

Author SHA1 Message Date
dcodeIO
d8cdb663cb Share test runner between allocators 2018-02-19 23:07:35 +01:00
dcodeIO
67f6efee1e Fix obvious issues in buddy allocator 2018-02-19 22:48:07 +01:00
dcodeIO
1b5fe18c2c Update dist files 2018-02-19 19:19:45 +01:00
dcodeIO
93da63f571 Add evanw's buddy allocator for testing 2018-02-19 19:16:50 +01:00
dcodeIO
77e49bbd95 Replace more .wast references with .wat 2018-02-19 19:16:16 +01:00
Max Graey
de1c4b3da5 Add bswap/bswap16 post MVP polyfills (#34) 2018-02-19 12:35:28 +01:00
dcodeIO
31633899f9 Use untouched/optimized naming scheme in tests as well 2018-02-17 11:14:41 +01:00
dcodeIO
e50a23bf75 Rename wast to wat 2018-02-17 11:09:22 +01:00
dcodeIO
6b459259f9 Add memoryBase compiler option
This allows having fixed-size application-specific memory in front, followed by compiler-generated static memory and the heap.
2018-02-17 00:16:08 +01:00
dcodeIO
48cbbbbd68 More cleanup 2018-02-16 18:57:51 +01:00
dcodeIO
3d7e8b2b7a More cleanup and a possible fix for #29 2018-02-16 11:55:13 +01:00
dcodeIO
f729444320 Fix increment/decrement not wrapping small ints in simplified case, see #26 2018-02-15 09:22:46 +01:00
dcodeIO
d31e484b15 Cleanup; Fix an issue with 'let' declarations reusing a local 2018-02-14 19:21:31 +01:00
dcodeIO
b1c6ccab2a Use long.js in JS and native i64 in WASM; Compile literals more thoroughly 2018-02-14 09:18:43 +01:00
dcodeIO
874f87f478 Update README 2018-02-13 11:07:02 +01:00
dcodeIO
818331e3d5 Test both sources and distribution 2018-02-13 09:16:22 +01:00
dcodeIO
c6486c461d Move TLSF to stdlib, see #15 2018-02-12 19:17:50 +01:00
dcodeIO
9e9284955d Clean up asc a bit 2018-02-12 18:54:17 +01:00
Max Graey
2175e6fbdc Optimize some std mem methods by replacing expensive rem operations to fast bit logic (#24) 2018-02-12 18:47:32 +01:00
dcodeIO
74f8189ac1 Fix CRLF issues in tests; Include common tsc options in asc bundle 2018-02-10 18:34:29 +01:00
dcodeIO
9678ce839e Also bundle definition files with asc 2018-02-10 17:25:31 +01:00
dcodeIO
118cf95d25 Even more testing for #26 2018-02-10 12:20:19 +01:00
dcodeIO
a360393505 More testing for #26 2018-02-10 12:14:04 +01:00
dcodeIO
fd7738f2d2 Regenerate fixture 2018-02-10 09:59:22 +01:00
dcodeIO
0f99f39600 Add test case for #26 2018-02-10 09:45:49 +01:00
dcodeIO
0f4449438b Include dist files in the repo, fixes #11 2018-02-10 01:14:41 +01:00
dcodeIO
facd8b44b3 Exclude more modules from asc build 2018-02-10 01:09:34 +01:00
dcodeIO
08d9ba12aa Improve bundled asc example a bit, see #25 2018-02-09 16:40:53 +01:00
dcodeIO
60728c38fd Initial asc browser bundle, see #25 2018-02-09 15:43:57 +01:00
dcodeIO
cd9a3b5b95 Update dependencies and move ts-node to prod for now 2018-02-09 10:59:47 +01:00
dcodeIO
ad92d91f01 Move built-in declarations to actual sources; Remove declaration is null checks; Resolve calls 2018-02-09 02:31:48 +01:00
dcodeIO
a7e815dcec TLSF: Coalesce pages by extending the tail block, see #15 2018-02-06 06:47:37 +01:00
dcodeIO
41c0f2c6c3 Test formatting; Wire webpack loader to asc 2018-02-05 17:10:14 +01:00
dcodeIO
a0b39da7cf Run tests on latest lts and latest stable node 2018-02-04 07:56:35 +01:00
dcodeIO
819d79889d Second pass on the programmatic asc API; Make compiler tests use asc directly 2018-02-04 07:51:40 +01:00
dcodeIO
349de60129 First pass on a programmatic asc API 2018-02-03 02:36:20 +01:00
dcodeIO
44375a43b2 Docs: Link to the wiki more prominently 2018-02-02 19:05:49 +01:00
dcodeIO
6fb7a0c59f TLSF: Cache repeated load/stores in locals (registers) 2018-02-02 08:26:46 +01:00
dcodeIO
4ce8c7a6b0 More memory allocators 2018-02-02 04:21:06 +01:00
dcodeIO
8d4be9a714 Remove intermediate debugging from asc 2018-02-02 03:14:27 +01:00
dcodeIO
4736227879 Update binaryen to latest nightly; Source map support 2018-02-02 03:07:54 +01:00
dcodeIO
a8da04404a New TLSF, see #15 2018-02-01 17:43:45 +01:00
dcodeIO
3924aa96ae Fun fact: Can even implement parseInt/I32/I64 using generics, see #19 2018-01-30 06:05:35 +01:00
dcodeIO
ab5a938ea0 parseInt compatibility layer around parseI64, see #19 2018-01-30 01:26:38 +01:00
dcodeIO
cae89e0b1f Accept custom library paths in asc, see #19 2018-01-30 01:20:20 +01:00
dcodeIO
1995bf9eb4 Parser fixes; Lib updates 2018-01-29 22:36:07 +01:00
dcodeIO
74498852f0 Utilities and an initial webpack loader 2018-01-29 17:12:02 +01:00
dcodeIO
9e3b6f202d Naive parseFloat 2018-01-29 07:42:40 +01:00
dcodeIO
d3f22637ed Check radix in parseInt and use constant offsets 2018-01-29 00:33:32 +01:00
dcodeIO
002fba3067 Initial parseInt using loads, see #8 2018-01-28 23:42:55 +01:00