1
1
mirror of https://github.com/tweag/asterius.git synced 2024-09-21 05:48:04 +03:00
Commit Graph

62 Commits

Author SHA1 Message Date
Yuji Yamamoto
9ea5c51df9 📝 Fix: FFI_JSREF -> FFI_JSVAL (#101) 2019-04-07 21:12:35 +08:00
Shao Cheng
8beb65c0f4 Weekly report 190401 2019-04-01 15:54:21 +08:00
Shao Cheng
831b6079dc Weekly report 190325 2019-03-25 16:01:20 +08:00
Shao Cheng
25fdd6e2de
Change Cmm function sigs to [] -> [] and implement tail call opcodes (#95) 2019-03-21 22:05:00 +08:00
Shao Cheng
6e2a9fbe9d
Make dead code elimination optional (#93) 2019-03-20 14:29:45 +08:00
Shao Cheng
0700f98d8c Weekly report 190318 2019-03-18 16:01:20 +08:00
Shao Cheng
7365572dd1
Add script/doc about using experimental nodejs build (#92) 2019-03-17 14:24:24 +08:00
Shao Cheng
732aec2c36 Weekly report 190310 2019-03-10 07:19:30 +08:00
Shao Cheng
6e117c7736
Make linker faster, combining work in #82 #83 (#84) 2019-03-06 01:56:34 +08:00
Shao Cheng
f7974f9430 Weekly report 190304 2019-03-04 04:34:27 +08:00
Shao Cheng
bb3ff64f68 Check in missing cabal support documentation 2019-02-23 17:40:58 +08:00
Shao Cheng
6a692bfb5c
Prune the legacy "vault" feature (#77) 2019-02-23 17:39:10 +08:00
Shao Cheng
50f78520f7 Weekly report 190222 2019-02-22 16:29:57 +08:00
Shao Cheng
6fd1b0f5fd
Implement ahc-cabal (#72) 2019-02-22 15:49:57 +08:00
Shao Cheng
a6edf5804e Weekly report 190218 2019-02-18 15:47:22 +08:00
Shao Cheng
19c8fddefb Weekly report 190211 2019-02-11 05:58:36 +08:00
Shao Cheng
468e87fad6
Initial garbage collector implementation (#61) 2019-02-11 05:47:17 +08:00
Shao Cheng
43b6662533 Weekly report 190204 2019-02-04 14:38:18 +08:00
Shao Cheng
bcd38334ec Weekly report 190128. 2019-01-28 14:36:10 +08:00
Shao Cheng
a316f8ceb9 Weekly report 190121 2019-01-21 13:36:24 +08:00
Shao Cheng
c1849a74e5 New year's first weekly report. 2019-01-13 21:41:37 +08:00
Shao Cheng
cd45446267 Do not use "ahc-link --bundle" for node.js targets 2019-01-08 03:56:11 +08:00
Shao Cheng
69202408e0 Finalize the modularized rts work #50 (+53 squashed commit) 2019-01-08 03:36:09 +08:00
Shao Cheng
6944ec2929 Add status reports. 2018-12-28 17:09:21 +08:00
Shao Cheng
d1b54e6932 Implement "ahc-link --js-bundle" 2018-12-20 18:09:52 +08:00
Shao Cheng
47ee1c4491 Minor enhancements in bytestring support (+3 squashed commit) 2018-12-18 19:06:07 +08:00
Shao Cheng
3e64b04f5b Implement the persistent vault feature #48 (+3 squashed commit) 2018-12-17 11:33:00 +08:00
Shao Cheng
1f6f0e0f88 Implement fully growable Haskell heap for both regular closures & allocate* invocations #44 (+5 squashed commit)
Squashed commit:

[927e97b] no message

[4224024] no message

[a68642c] Handle ThreadYielding ret code for stg_yieldzh #44

[17012c7] Cleanup redundant constants in ghc-toolkit

[d5d32cc] Add no-op threadPaused #44
2018-12-16 17:20:02 +08:00
Shao Cheng
dec14617e8 Implement grow-on-demand heap for allocate* (+2 squashed commit) 2018-12-15 16:54:06 +08:00
Shao Cheng
497a7e508c Simplify RTS API & runtime implementation, support thread-local storage & prep for #44 (+8 squashed commit) 2018-12-14 16:54:11 +08:00
Shao Cheng
39bc9597fe bytestring support & numerous bugfixes and impovements 2018-12-09 10:19:01 +08:00
Shao Cheng
e795f8bf19 Implement virtual address space (+12 squashed commit) 2018-11-02 17:12:45 +08:00
Shao Cheng
8a76f3fb17 Update to ghc-8.7.20181027 (+13 squashed commit) 2018-10-29 16:38:28 +08:00
Shao Cheng
900e09a6d0 Default to wasm-toolkit backend for wasm binary code generation (+52 squashed commit) 2018-10-23 16:00:06 +08:00
Shao Cheng
50a32ef9ec Add docs on ahc-link and links to blog posts; a ton of other housekeeping (+5 squashed commit)
Squashed commit:

[a1e989b] Keep CallImport variant in asterius ir to make the linker's life easier

[cd38489] Update binaryen to 41ebb1b, remove CallImport variants

[7e44c86] no message

[2c0f2da] Fix breakage of jsffi stub c file compilation

[2c7f914] Get rid of the GHCUnexported hack
2018-09-21 05:41:34 +08:00
Shao Cheng
1e5fc9a4b9 Implement & test rts_mk/rts_get for Char; add docs for invoking rts api 2018-09-19 11:03:26 +08:00
Shao Cheng
8018ffa7f3 Support Bool as JSFFI basic type, support marshaling between JavaScript booleans 2018-09-09 10:45:19 +08:00
Shao Cheng
be338151e0 Adjust checklist, add plugins/TH related discussion 2018-09-04 17:47:10 +08:00
Shao Cheng
90fb707f1e Fix binaryen marshalling for BinaryenSetFunctionTable (+2 squashed commit)
Squashed commit:

[6d4708d] no message

[565c21b] no message
2018-09-03 06:21:00 +08:00
Shao Cheng
4d02e1fd96 "foreign export javascript" is working, included in jsffi unit test. (+3 squashed commit)
Squashed commit:

[a55fa61] no message

[4aa1467] no message

[961b519] no message
2018-08-19 15:50:40 +08:00
Shao Cheng
b45405757e Add Ptr/FunPtr/StablePtr to JSFFI basic types (+12 squashed commit)
Squashed commit:

[5c669da] no message

[904166f] no message

[1a6d60f] no message

[2e4700e] no message

[df019b8] no message

[eb87e44] no message

[230704b] no message

[db48531] no message

[045d1a0] no message

[d4e8fe5] no message

[9529976] no message

[ea97dd3] no message
2018-08-17 21:15:38 +08:00
Shao Cheng
bfc326d869 Add Checklist 2018-08-16 13:51:22 +08:00
Shao Cheng
e81f535f4e Implement & document the remote monad EDSL to write wasm in Haskell (+3 squashed commit)
Squashed commit:

[6504e82] Implement remote monad style EDSL for WebAssembly & use it to refactor most of builtin functions

[82c7048] Field test

[d958724] Start work on a shallow EDSL for hand-written WebAssembly code in Haskell
2018-07-29 20:58:15 +08:00
Shao Cheng
8166d35102 Improve JSFFI & docs (+18 squashed commit)
Squashed commit:

[1ea1365] Improve documentation & re-add docs builder on circleci

[cba4e06] Disable parallel building of binaryen to solve OOM on circleci

[aad1174] Add Int/Word support for JSFFI; use unified JS_VAL variant for non-reference types

[6dacf15] no message

[d396479] no message

[9e03ab4] no message

[2ab2d53] no message

[3dc2431] no message

[50e4565] no message

[76b3749] no message

[6b885af] no message

[14515a2] no message

[522fd3d] no message

[fcc48b3] Update to ghc-8.7.20180712

[701ab03] Implement jsffi wrapper functions; add Char support, add js_putchar example to jsffi test suite

[ebd1a85] no message

[b1da7e7] no message

[844c831] no message
2018-07-16 21:21:31 +08:00
Shao Cheng
a16490cb73
Remove broken logo on docs front page for now 2018-05-29 19:41:56 +08:00
Shao Cheng
ef7eb0c6d5 Fix docs index logo size 2018-05-28 17:47:07 +08:00
Shao Cheng
ce0d8ad0bf Remove legacy nix build instructions in docs 2018-05-28 17:39:45 +08:00
Shao Cheng
be28ed3eac Fix appveyor build 2018-05-22 03:57:52 +08:00
Shao Cheng
07258ebac0 Add a brief reading list in docs 2018-04-19 16:55:41 +08:00
Shao Cheng
7abce74ed3 Merge wasm-toolkit into asterius, since reusability is not present anyway and it'll be handy to share types 2018-04-18 13:38:49 +08:00