GithubHelp home page GithubHelp logo

taylorchasewhite / mips Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 586 KB

Compile custom language into MIPS Assembly

Home Page: http://taylorchasewhite.com/mips

JavaScript 2.81% CSS 19.71% HTML 9.46% Python 64.60% PHP 0.35% Assembly 1.04% OCaml 1.93% Standard ML 0.09%
mips-assembly custom-language python

mips's Introduction

mips

Compile custom language into MIPS Assembly code through Python.

Our own custom language

This project can run standalone in Python. The web code was added later to allow others to see the compilation in action on the web rather than through their own Python server.

The python code was created in collaboration with Robert Smayda and Miami University as a part of a college course in 2014.

The basic architecture outlaid here is that:

  • A web activity is launched and uses Ace to create two side-by-side IDEs.
  • A programmer can study the grammar of the language at the top of the website and write code in the newly defined language.
  • Once the user hits the compile button, we send a POST request to the server, which launches our compile.py script on the user's code.
  • If compile.py returns an error we display the compile error in the web browser and if there is no error, we display the MIPS assembly that was compiled by our python code.

Check out a demo at my website.

mips's People

Contributors

taylorchasewhite avatar

Stargazers

 avatar  avatar

Watchers

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