Git Product home page Git Product logo

Comments (1)

belmarca avatar belmarca commented on July 22, 2024

Hi Luis,

Glad you liked it! The index.html file was written by hand and is in essence a big hack constructed for ELS. I would suggest to first compile your own REPL by going to the contrib/try directory in the Gambit repo and run make try. You can launch a web server from there which will serve the files on localhost.

Once you can compile your own REPL, you can use it elsewhere. For that, you basically need these imports. Basically, just follow what is done in Gambit's contrib/try/index.html where you can see the UI being initialized using body onload.

If you want to use multiple views of the same REPL, you need multiple divs to populate by invoking the new_repl method, as is done here.

I understand that these instructions might not be enough to get going without hiccups. Please try it out and let me know if you need any more assistance. Facilitating usage and deployment is definitely needed!

from els2021-presentation.

Related Issues (1)

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.