Code Monkey home page Code Monkey logo

froc's Introduction

Froc is a library for functional reactive programming in OCaml.

The interface is similar to FrTime and FlapJax, but (of course) typed, implementing a monad of changeable values. The implementation is data-driven, using the dynamic dependency graphs of Acar et al.'s self-adjusting computation.

Froc can be used with ocamljs, and with the included froc-dom library can be used for web browser programming.

See http://jaked.github.com/froc for details.

For a quick start:

  1. ./configure (-disable-ocamljs if you do not have ocamljs)
  2. make
  3. make install
  4. make examples

Froc is written by Jake Donham.

froc's People

Contributors

duckpilot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

avsm rgrinberg

froc's Issues

Migrate off camlp4

Camlp4 release for OCaml 4.08 is the last release ever - see the official announcement. It is recommended to port the code to use ppx (extension points), or any external parser (like mehrir, sedlex, ocamllex, ansgtrom, etc).

compiling froc fails without ocamljs

I got this build failure with ocaml-3.11.2 on MacOS X when trying to compile froc without ocamljs (I'm just installing that now too, but thought you might want to know about this).

./configure -disable-ocamljs
Welcome to froc version 0.2
Checking for findlib... found

Effective options:
    -disable-ocamljs
    -bindir /opt/local/bin
    -libdir /opt/local/lib/ocaml

Writing Makefile.conf

Please check Makefile.conf.

You can now compile froc by invoking
   make all
Finally, a
   make install
will install the package(s).
click:froc avsm$ make
mkdir -p stage
for pkg in froc; do \
    make -C src/$pkg all || exit; \
done
ocamlbuild froc.cma froc.cmxa 
Finished, 0 targets (0 cached) in 00:00:00.
+ ocamlfind ocamldep -package camlp4.macro -syntax camlp4o -modules froc_ddg.ml 
    >     froc_ddg.ml.depends
File "froc_ddg.ml", line 217, characters 6-35:
While finding quotation "" in a position of "expr":
  There is no quotation expander available.
  Camlp4: Uncaught exception: Not_found

Preprocessing error on file froc_ddg.ml
Command exited with code 2.
Compilation unsuccessful after building 12 targets (11 cached) in 00:00:00.
make[1]: *** [all] Error 10
make: *** [all] Error 2

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.