Coder Social home page Coder Social logo

qc's Introduction

Quick C

qc is a c frontend for the awesome QBE ssa backend written by Quentin Carbonneaux.

The frontend itself is written in the Myrddin programming language, a language by Ori Bernstein that is under heavy development, and also rocks.

Project Goals

  • Give QBE a serious C frontend to use for testing.
  • Make Myrddin self hosting language, even if it depends on some C code.
  • Allow Myrddin programs to embed C code without depending on the system C compiler.
  • Spread awareness of the Myrddin programming language.

Status

The compiler itself is nearly complete enough to start compiling real programs. My first target will be my old self hosting C compiler. Currently, more than 5k LOC from that project can be built with qc + qbe.

There is not much work required to complete that goal, though there will be a steady grind of bug fixes to make it a reality.

Building

You must have the Myrddin programming language installed, then building is a single command.

mbld

The compiler itself should work on linux, macos, freebsd, openbsd and plan9. Though qbe can only target a subset of those platforms.

Running tests

mbld test

Contact

IRC: irc.eigenstate.org in #myrddin (nick: ac)

qc's People

Contributors

andrewchambers avatar oridb avatar

Stargazers

 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.