Git Product home page Git Product logo

reolanguage / reo Goto Github PK

View Code? Open in Web Editor NEW
13.0 9.0 9.0 163.72 MB

Reo is a domain specific language for the specification of interaction protocols that define (a)synchronous communication amongst components.

License: MIT License

ANTLR 0.05% Java 5.49% HTML 0.03% C 81.30% Shell 1.57% Batchfile 0.03% CSS 0.01% C++ 6.40% Makefile 0.91% M4 0.58% Perl 0.04% Python 0.01% Assembly 1.73% Objective-C 0.05% Xtend 0.04% SWIG 1.75%
concurrency coordination protocols compilation editor

reo's Introduction

Latest Version

Reo

Protocols coordinate interaction amongst concurrently executing processes. Most general purpose programming languages do not provide syntax for expressing these protocols explicitly. The absence of such syntax requires programmers to implement their protocols by manually via locks and semaphores. Given such implicit implementation of the protocol, it is very hard, if not impossible, to reason about its correctness and efficiency of the protocol.

image

Reo, an exogenous coordination language designed by prof. dr. F. Arbab at the Centre for Mathematics and Computer Science (​CWI) in Amsterdam, addresses this problem by providing syntax that allows explicit high-level construction of protocols. This syntax consists of graph-like structures, such as the figure above. It is much easier to develop correct protocols that are free of dead-locks, live-locks and data races. The compiler of the coordination language is able to optimize the actual implementation of the protocol.

Installation

  1. Install Java SDK 1.6+. You can check if the correct java version is installed by running java -version.
  2. Download the reo compiler corresponding to your operating system (linux, mac, or windows).
  3. Unzip the archive in the directory you want reo to be installed, and run the install script.
  4. Test the installation by running reo.

Documentation

The Reo documentation.

Contribute

If you wish to contribute to the development of Reo, use the following instructions to obtain your own copy of the source code:

  1. Install Git.
  2. Install Java SDK 1.6+. You can check if the correct version is already installed via java -version.
  3. Install Maven.
  4. Install Eclipse.
  5. Change directory to eclipse workspace cd ../workspace
  6. Clone this repository via git clone https://github.com/kasperdokter/Reo.git
  7. Change directory cd Reo
  8. Build the project: mvn clean install.
  9. Generate Eclipse configuration via mvn eclipse:eclipse
  10. Import project to Eclipse: File > Import..., select General > Existing Projects into Workspace, hit Next, select root directory and point to the cloned repository, hit Finish.
  11. Start coding :)

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.