Skip to content
/ emfrp Public

A compiler of Emfrp, an FRP language for small embedded systems.

License

Notifications You must be signed in to change notification settings

sawaken/emfrp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a935a24 · Mar 7, 2021

History

93 Commits
Nov 19, 2019
Nov 12, 2018
Nov 12, 2018
Mar 7, 2021
Nov 12, 2018
Nov 20, 2019
Oct 27, 2015
Nov 19, 2019
Dec 16, 2015
Nov 12, 2018
Oct 27, 2015
Dec 17, 2015

Repository files navigation

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

About

A compiler of Emfrp, an FRP language for small embedded systems.

Resources

License

Stars

Watchers

Forks

Packages

No packages published