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

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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