GithubHelp home page GithubHelp logo

mcresc's Introduction

Mornington Crescent Interactive Debugger

Watch the execution of Mornington Crescent programs as they traverse the London Tube network, pause and step through syntax-highlighted code.

This project contains two main components:

  • The Mornington Crescent interpreter and debugging renderer;
  • A module for directly interacting with the Tube map SVG, as provided by Transport for London.

Running Hello World

Requirements

This project is written in vanilla ES2015 with no external dependencies, and has been tested as running directly in Chromium 51 and Firefox 48; other browsers may have issues interpreting the syntax.

Known Issues

  • The TfL Tube map denotes stations with a three-letter code as part of a longer ID; the three-letter codes for Wood Lane (on the Circle line) and Woolwich Arsenal (on the DLR) are the same, so the syntax highlighter may refer to one as the other.
  • For a similar reason, Hammersmith has two codes and any data written to Hammersmith (via Bank/Monument) will appear twice in the memory dumper.
  • The included module for handling the Tube map has the data to create routes across Tube lines (through interchanges), but this functionality does not yet exist.
  • Breakpoints cannot be set: an MCresc script will run to completion unless paused manually.
  • The debugger is currently hardcoded to load a Hello World script.
  • Live editing of the source code is not currently supported.

mcresc's People

Contributors

two9a avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hackthings

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.