Git Product home page Git Product logo

cprime's Introduction

C-Prime

C-Prime is C without all the clutter. Inspired in part by CoffeeScript's makeover of JavaScript, C-Prime believes that C can become more beautiful, more readable, and easier to write. C-Prime is not a new language, however. It is simply a more beautiful way of writing C code. C-Prime code then gets directly transpiled to C code, to be compiled by your system's C compiler.

Basically, C-Prime doesn't get in the way of C grammar, but provides a less cluttered (and in some cases less error-prone) way of writing it.

The Road to 0.1

At this point, the Python script that currently acts as the transpiler is basically finished, although more will probably be added to it as time goes on. What's next? A new version of the C-Prime transpiler, written in C-Prime (essentially a bootstrapped version).

The current sources for the bootstrapped transpiler can be found in primec/.

Additionally, thorough documentation of the language features will be essential for C-Prime to have any hope of catching on.

Example programs:

Check in examples/

cprime's People

Contributors

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