GithubHelp home page GithubHelp logo

akornor / teiko Goto Github PK

View Code? Open in Web Editor NEW

This project forked from norris1z/teiko

0.0 2.0 0.0 285 KB

an interactive online compiler which shows the assembly output of compiled C++

JavaScript 94.64% HTML 3.27% CSS 2.09%

teiko's Introduction

TEIKO

Inspired By Compiler Explorer

About

An interactive online compiler which shows the assembly output of compiled C++

Getting Started

The aim of this project is to output interactively the asm of C++ and other compiled languages for the development, a (gcc) compiler is required since the CppCompiler's inner workings requires g++. The g++ compiler should be added to the system's path such that calling g++ from the commandline invokes the g++ compiler. The project is built with nodejs hence nodejs should be installed to use it.

NB: Compilers for languages supported must be installed on the host machine.

Languages Supported

  1. C++
  2. Rust

Installing

Clone the repository or download as zip and extract it's contents to a folder say teiko_demo.

Open your terminal/command prompt and navigate into the teiko_demo directory.

Type

cd frontend
npm install

This installs all the dependencies required to run the frontend.

Run

npm start 

To start the frontend. This starts a react application on port 3000. Open your browser and type localhost:3000 to run the frontend.

The frontend connects to an api built with express on port 8000 so we need to run the express application from the backend too.

Open your terminal/command prompt and navigate into the teiko_demo directory.

Type

cd backend
npm install

This installs all the dependencies required to run the backend.

Run

npm start 

Now in the browser, type your c++/rust code and watch it generate the asm output interactively.

C++ Demo

Project Goals

  1. Implement more compilers (PHP,Python,Rust) ...
  2. Write Tests
  3. Find a portable way to handle files generated for each request
  4. Improve Frontend
  5. Write an asm parser to parse asm generated
  6. Demangle C++ asm output

teiko's People

Contributors

akornor avatar norris1z avatar

Watchers

 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.