Giter VIP home page Giter VIP logo

graphical-minsky-machines's Introduction

Graphical Minsky Machines

Made to support the learning of the 50003 Models of Computation Course at Imperial College London: https://www.imperial.ac.uk/computing/current-students/courses/50003/

Usage:

  • make setup installs dependencies
  • make run csv=/path/to/csv/ runs the program on the specfied CSV file, and opens the resulting PDF in the default browser
  • make clean removes files outputted from the program

CSV File Setup:

The repository contains an example file on how an input should be formatted before being passed into the program. The headings are as follows, where DEST_LABEL_1 and DEST_LABEL_2 are optional:

LABEL_NUMBER, REGISTER, DEST_LABEL_1, DEST_LABEL_2

The information about add or subtract instructions is ignored, and implicitly inferred in the program.

Output File:

The result of the program is stored as a PDF in the program directory and automatically opened. The diagram is read as follows:

  • Circle: Register
  • Triangle Arrow: Add Instruction
  • Diamond Arrow: Subtract Instruction

image

graphical-minsky-machines's People

Contributors

r-ushil avatar

Stargazers

 avatar

Watchers

 avatar

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.