06f99406be
Experimenting with inline-assembler-ish explicit builtins
...
Starting with explicit loads and stores as part of the respective type namespaces. Might become handy for use with portable code, because these can be polyfilled, while load<T> and store<T> can't.
2018-04-27 00:08:41 +02:00
ab08269276
Clarify the use of RGBA vs ABGR in the game-of-life example
2018-04-25 22:39:51 +02:00
391db28fe2
Always try to eliminate branches if tree-shaking is enabled
2018-04-24 23:11:11 +02:00
2ff1bb745a
Fix some diagnostic issues when skipping invalid statements, see #80 ; Make game-of-life example somewhat interactive; Update dist files
2018-04-22 23:13:02 +02:00
bde13b12cf
Some final tweaks to the examples
...
I promise
2018-04-20 18:56:51 +02:00
b53b3e08ec
Add some smoothing to mandelbrot example
2018-04-20 05:06:05 +02:00
9cd3304e13
Make the game-of-life example a bit more interesting
...
This moves the entire image buffer to WASM that now also applies some fading.
2018-04-19 23:16:03 +02:00
18ef7c1932
Also link to the source from the demos
2018-04-19 18:53:01 +02:00
7d3fb86691
Add demo links to README
2018-04-19 17:49:44 +02:00
485c3fd9b2
Add mandelbrot example; Update game-of-life example
2018-04-19 17:32:23 +02:00
5a2f834c0d
Fix game-of-life example inconsistencies; Fix ternary expression issues in void contexts and variable statements; Simplify HEAP_BASE handling
2018-04-18 15:12:33 +02:00
89e8de5d82
Enable open-in-browser in the Game Of Life example ( #69 )
2018-04-07 19:01:10 +02:00
4633fdab96
Update binary expression inference, see #35 ; Update dependencies
2018-03-01 19:42:07 +01:00
77e49bbd95
Replace more .wast references with .wat
2018-02-19 19:16:16 +01:00
e50a23bf75
Rename wast to wat
2018-02-17 11:09:22 +01:00
4736227879
Update binaryen to latest nightly; Source map support
2018-02-02 03:07:54 +01:00
2fa7fc7885
Take advantage of smaller integer load and store ops
2018-01-23 15:44:25 +01:00
2888ba14ad
PSON decoder example using namespaced imports
2017-12-30 05:11:58 +01:00
8d894d0827
Make sure constant locals are inlined, see #6
2017-12-28 15:17:35 +01:00
b69c07af45
Reference the wiki
2017-12-14 16:50:59 +01:00
6bea116b3e
Integrate examples into tests
2017-12-14 12:30:58 +01:00
ce57820f59
Is it a strawberry, see boyanio/wasm-wheel#2
2017-12-13 00:11:45 +01:00