Coder Social home page Coder Social logo

slacker247 / compiler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codebndr/compiler

0.0 2.0 0.0 1.36 MB

The codebender compiler backend.

Home Page: https://codebender.cc

License: BSD 2-Clause "Simplified" License

ApacheConf 1.31% PHP 89.90% Python 6.03% HTML 0.19% Shell 2.57%

compiler's Introduction

This repository is part of the codebender.cc maker and artist web platform.

Build Status Coverage Status

And what's that?

codebender fills the need for reliable, easy to use tools for makers, a need that couldn't be completely fulfilled by any existing solution according to our experience.

Things like installing libraries or the IDE and updating software sometimes were (and still are) quite a painful process. But in addition to the above, the limited features provided (e.g. insufficient highlighting, indentation and autocompletion) got us to start codebender, a completely web-based IDE that requires virtually no installation and offers a great code editor. Plus it stores your sketches on the cloud. Yeah!

With your code on the cloud, you can access your sketches safely even if your laptop is stolen or your hard drive fails! codebender also compiles your code giving you extremely descriptive error descriptions on terrible code. There's even more, you can upload your code to your Arduino straight from the browser.

How does the compiler come into the picture?

The compiler repository includes all the necessary files needed to run the compiler as a service. It receives the code as input and outputs the compiled output if the compilation was successful or the errors present in the code. We provide an easy interface to send the code to the compiler.

Here's a list of open source projects we use

  • Clang
  • gcc-avr
  • avr binutils (avrsize)

For development we've run it on a variety of Linux and Mac OS X machines.

For production we are using Ubuntu Server 12.04. We know the compiler works perfectly on it, so we suggest you using it as well.

How to install

Check out the code in any directory you wish

git clone https://github.com/codebendercc/compiler.git

Then cd in the created directory (if you run the command as is above, it would be named compiler) and run

scripts/install.sh

(don't cd into scripts directory and run install.sh from there, it won't work)

If you now visit http://localhost/status you'll see a JSON response telling you everything's ok: {"success":true,"status":"OK"}

What's next?

Visit the wiki for more information.

How can someone contribute?

Contribution is always welcome whether it is by creating an issue for a bug or suggestion you can't fix yourself or a pull request for something you can.

If you write new code or edit old code please don't forget to add/update relative unit tests that come with it. It is always a good idea to run tests localy to make sure nothing breaks before you create a pull request.

We expect new code to be PSR-2 but we know we carry legacy code with different coding styles. You're welcome to fix that.

compiler's People

Contributors

fpapadopou avatar tzikis avatar xobs avatar ehostunreach avatar spiliot avatar dastergon avatar

Watchers

James Cloos avatar Jeff McCartney 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.