Giter VIP home page Giter VIP logo

wex's Introduction

Wex

Wex is an IEx-like utility that runs code in the browser.

This gives us some interesting possibilities: popup windows for help, asynchronous output, continuous compilation with errors and warnings flagged in the source, and so on.

This is at best a prototype, so tread lightly. But, if you feel like contributing, there is a list of things to do on the issues page.

To run Wex:

  1. git clone https://github.com/pragdave/wex.git
  2. cd wex
  3. bower install
  4. mix deps.get
  5. mix run --no-halt
  6. Browse to localhost:8080/index.html

Enjoy

Dave

wex's People

Contributors

pragdave avatar fishcakez avatar msch avatar

Stargazers

Dániel Vámosi avatar Keyvan Fatehi avatar Angus H. avatar Chee Yeo avatar Sviridov Aleksandr avatar Jesse Schoch avatar Wojciech Kaczmarek avatar Antoine Proulx avatar Sean Eshbaugh avatar Michael Simpson avatar Jake Good avatar James Aspinwall avatar Andrew Forward avatar Takayuki Matsubara avatar Petrică Clement Chiriac avatar Yao avatar Ivan Bolhar avatar

Watchers

James Aspinwall avatar  avatar Antoine Proulx avatar Michael Simpson avatar James Cloos avatar  avatar

wex's Issues

gitignoring priv/scripts also ignores priv/scripts/ours

and I think priv/scripts/ours should be commited:

  <script type="text/javascript" 
          src="/scripts/ours/util.js"></script>
  <script type="text/javascript" 
          src="/scripts/ours/wex_event.js"></script>
  <script type="text/javascript" 
          src="/scripts/ours/readline.js"></script>
  <script type="text/javascript" 
          src="/scripts/ours/eval.js"></script>
  <script type="text/javascript" 
          src="/scripts/ours/help.js"></script>
  <script type="text/javascript" 
          src="/scripts/ours/ws_driver.js"></script>
  <script type="text/javascript" 
          src="/scripts/ours/rest_driver.js"></script>
  <script type="text/javascript" 
          src="/scripts/ours/windows.js"></script>
  <script type="text/javascript" 
          src="/scripts/ours/editor_file_list.js"></script>
  <script type="text/javascript" 
          src="/scripts/ours/editor_file_list_view.js"></script>
  <script type="text/javascript" 
          src="/scripts/ours/compiler.js"></script>
  <script type="text/javascript" 
          src="/scripts/ours/editor.js"></script>

  <script type="text/javascript" 
          src="/scripts/ours/files.js"></script>
  <script type="text/javascript" 
          src="/scripts/ours/files/dir.js"></script>
  <script type="text/javascript" 
          src="/scripts/ours/files/dir_list.js"></script>
  <script type="text/javascript" 
          src="/scripts/ours/files/dir_view.js"></script>
  <script type="text/javascript" 
          src="/scripts/ours/files/file.js"></script>
  <script type="text/javascript" 
          src="/scripts/ours/files/file_loader.js"></script>


  <script type="text/javascript" 
          src="/scripts/ours/main.js"></script>

Get the supervision tree right

The server side of Wex has a pretty ad hoc supervision structure.

To some extend, I felt hamstrung by the need for servers to have the pids of other servers—that means I have to start things in a certain order, and I have to start things only from within other servers. (For example, the web services server actually starts the eval and help server supervisor inline, because those two servers need the web services pid to send asynchronous messages).

Anyway, it's a bit of a mess. I'd love someone who understands how to structure these things to have a go at it.

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.