spasm
spasm copied to clipboard
Write single page applications in D that compile to webassembly
I tried the "underrun" example on browser and my PC had a couple of hiccups since I was compiling some code in the meantime. Every time this happens the character...
After doing: ``` dub init spasm cd dub ``` ``` I get: ..\..\AppData\Local\dub\packages\spasm-0.1.13\spasm\source\spasm\bindings\svg.d(69,8): Error: function spasm.bindings.svg.SVGAElement.href() conflicts with previous declaration at ..\..\AppData\Local\dub\packages\spasm-0.1.13\spasm\source\spasm\bindings\svg.d(63,8) ```
Hi all! This is a really exciting project. The possibility of using Dlang on the client side blows my mind. I'd like to make a few questions/suggestions and maybe can...
`dub build --compiler=ldc2 --build=release` as well as `dub build --build=release --build-mode=allAtOnce` result in; `source/app.d(9,17): Error: @safe function _start cannot access __gshared data document source/app.d(14,15): Error: @safe function _start cannot access...
`WasmAllocator.allocate` does not terminate on out of memory `wasmMemoryGrow` function returns `-1` if allocation fails. But currently `WasmAllocator.grow` just ignores `wasmMemoryGrow(pages)` return value thus resulting in essentially _undefined behavior_ of...
Starting from probably `0.2.0-beta.6` this code fails to compile: ```D import spasm.bindings; import spasm.dom; import spasm.types; extern (C) export void _start() { import std.algorithm : move; auto canvas = document.createElement("canvas").as!HTMLCanvasElement;...
* removed some dead/untested code for UDAs * documented the UDAs in spasm.types
Hi, while trying to compile any of the examples (dom / fetch), I get this error: `source\app.d(9,15): Error: @safe function _start cannot access __gshared data document source\app.d(19,15): Error: @safe function...
in dom.d as well as spa.js