Giter VIP home page Giter VIP logo

Comments (12)

jhmcstanton avatar jhmcstanton commented on May 14, 2024 3

@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.

from yampa.

jhmcstanton avatar jhmcstanton commented on May 14, 2024 2

This isn't strictly what you're looking for, but there is a project to combine Yampa and HTML canvas elements, yampa-canvas

from yampa.

ivanperez-keera avatar ivanperez-keera commented on May 14, 2024 1

This is actually great, @jhmcstanton . Thanks!!! I'll add it to Yampa's front page :)

from yampa.

ivanperez-keera avatar ivanperez-keera commented on May 14, 2024 1

Yeap, that'd be nice. Something that allows people to compile with GHCjs and get a running page.

My bad. I read this without the context and thought @mgajda was asking if this issue was meant to be GHCjs based.

from yampa.

ivanperez-keera avatar ivanperez-keera commented on May 14, 2024 1

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.

from yampa.

mgajda avatar mgajda commented on May 14, 2024

Is it GHCjs project?

from yampa.

ivanperez-keera avatar ivanperez-keera commented on May 14, 2024

Yeap, that'd be nice. Something that allows people to compile with GHCjs and get a running page.

from yampa.

ivanperez-keera avatar ivanperez-keera commented on May 14, 2024

Also relevant to this ticket is this branch of haskanoid: https://github.com/ivanperez-keera/haskanoid/blob/ghcjs/

from yampa.

ivanperez-keera avatar ivanperez-keera commented on May 14, 2024

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).

from yampa.

ivanperez-keera avatar ivanperez-keera commented on May 14, 2024

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.

from yampa.

mgajda avatar mgajda commented on May 14, 2024

@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?

from yampa.

ivanperez-keera avatar ivanperez-keera commented on May 14, 2024

See https://github.com/AntanasKal/yampa-wasm-example#using-docker-to-build-and-deploy. That little example is deployed with Github Pages.

from yampa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.