Giter Site home page Giter Site logo

ripe's Introduction

Ripe

What is it?

A hobby programming language.

It is:

  • compiled (through intermediate C step)
  • hybrid dynamically and statically typed (optional types with a little type-inference)
  • relatively fast when statically typed (in tight loops, outputted C code is as efficient as it gets)
  • garbage collected (via Boehm GC)

It has:

  • whitespace syntax (like Python but more terse)
  • closures (well, anonymous blocks with access to outer scope constants)
  • a tiny runtime library including a bit of everything (see modules directory)
  • no interpreter and no interpreter lock (true threading implemented with pthread)
  • fancy colorized build system

It generates tiny programs with the entire runtime compiled in (or it can be run in "scripting mode"). The only runtime requirement is the C library and Boehm GC.

The problems are:

  • no generics (you must use dynamic typing to get over that)
  • Boehm garbage collection is conservative, it has no knowledge of type information from the compiler

How to install

Installation requirements

Linux (sorry, no support for Mac OSX or Windows right now). It is known to build under Ubuntu 10.04 LTS and Ubuntu 12.04 LTS.

It only compiles under GCC as far as I know.

Installation requirements:

  • libgc-dev
  • bison
  • flex
  • python (for the build script)

Installation instructions

To install, simply run:

./build.py

(You may get some errors during compiling of optional modules, the build script will write out the modules that failed.)

To run tests simply run:

./run_test.sh

And you should see:

Running language test...
language test results: 90/90
Running stdlib test...
language test results: 106/106
Running 2 file test...
Test succeeded!

ripe's People

Contributors

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