Code Monkey home page Code Monkey logo

chirp's Introduction

Chirp

Chirp is a modern low-level programming language written in C++



Build Status License Discord Server





Chirp is a modern low-level programming language written in C++. Currently the language is still very early and can barely run yet, but I am actively working on the compiler, and hope one day it will be a functioning language.

Simple Example

  entry ()
  {
    # Assign 123 to the variable "a", which is an int
    int: a = 123
  }

Building

We are using CMake, so building is very easy. Depending on your platform there might be scripts to run the CMake commands for you, but even without the scripts it's very easy.

Dependencies

  • any compiler that supports c++11
  • cmake 3.8.2 or higher

Linux

You can build using the build.sh script

  git clone https://github.com/chirp-language/Chirp.git
  cd Chirp
  sh build.sh

The executable will be created in ./build/src/Chirp.

Windows

There's no scripts for windows, but you can use the CMake gui.

Features

We are rewritting the compiler, and this is what we have done so far:

  • Variable declaration 24-07-2019
  • Variable definition 25-07-2019
  • Math 25-07-2019
  • Functions 26-07-2019
  • Function calls 27-07-2019
  • Inline assembly 28-07-2019
  • If statements
  • Else statements
  • While statements
  • For statements
  • Imports
  • Pointers
  • Macros
  • Dynamic memory allocation
  • IO library
  • Math library
  • Eve library

chirp's People

Contributors

binkiklou avatar codefionn avatar dithpri avatar dmunch04 avatar geekskick avatar monlih avatar nickylaczko 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.