Skip to content
Pure Functional Reactive Programming Language for Small-Scale Embedded Systems
Ruby C
Branch: develop
Clone or download
Pull request Compare This branch is 19 commits ahead of sawaken:develop.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
bin
examples
lib
mfrp_include
tests
.gitignore
Gemfile
LICENSE
README.md
Rakefile
emfrp.gemspec

README.md

Emfrp

Pure Functional Reactive Programming Language for Small-Scale Embedded Systems

Installation

Requirement

  • Ruby 2.0 or later (and it's Gem client)
  • C (or C++) compiler for your favorite target platform

via RubyGems

Just type the following command.

$ gem install emfrp

You are all set. Enjoy!

from Source

Install Bundler if it is not installed.

$ gem install bundler

Clone this repository and install from the cloned source as follows.

$ cd emfrp
$ rake install

NOTE Some environments require that you need to be an administrator to perform gem install or rake install.

Usage

Command-line-interpreter (REPL)

$ emfrpi

Compiler

$ emfrp [options] <src-file>

Options

  • --nomain
    does not generate main file
  • --cpp
    generates .cpp instead of .c

See the wiki of this repository for details.

Sample Code

History

Originally developed by Kensuke Sawada

You can’t perform that action at this time.