-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create helloworld combining HTML generation and Yampa #34
Comments
This isn't strictly what you're looking for, but there is a project to combine Yampa and HTML canvas elements, yampa-canvas |
This is actually great, @jhmcstanton . Thanks!!! I'll add it to Yampa's front page :) |
Is it GHCjs project? |
Yeap, that'd be nice. Something that allows people to compile with GHCjs and get a running page. |
@mgajda if you're refering to yampa-canvas, its not a ghcjs project. It uses a small js runtime and COMET to interact with the browser from a haskell server. |
My bad. I read this without the context and thought @mgajda was asking if this issue was meant to be GHCjs based. |
Also relevant to this ticket is this branch of haskanoid: https://github.com/ivanperez-keera/haskanoid/blob/ghcjs/ |
Would anyone be able to help this effort by pointing to a current guide to get started with GHC and web, or preparing a minimal example (doesn't even have to use Yampa). |
I'm happy to say that @AntanasKal has provided a suitable hello world. See #268 for details. We need to modify the README to point to that repo. |
Document the existence of an example that uses GHC's new WebAssembly backend to create an interactive Yampa animation.
Document the existence of an example that uses GHC's new WebAssembly backend to create an interactive Yampa animation.
Document the existence of an example that uses GHC's new WebAssembly backend to create an interactive Yampa animation.
Yay!!! We've finally closed this and now have a hello world with docker to use webassembly. This also means we've just closed an issue that's been unsolved for 6 years! Massive thanks to @AntanasKal for the push to get that done. And just in time for the next release! This will open many possibilities for the Yampa project. |
@ivanperez-keera Would love to write next app with WebAssembly hosting of Yampa. Can you please release recipe of Docker image for building for Web? |
See https://github.com/AntanasKal/yampa-wasm-example#using-docker-to-build-and-deploy. That little example is deployed with Github Pages. |
Idea: create a Yampa program that generates an HTML file that changes (for instance, a text box that always shows the current mouse coordinate).
Prior knowledge of
blaze-html
or some other library to generate HTML would be useful.The text was updated successfully, but these errors were encountered: