package fmlib_js

  1. Overview
  2. Docs
Library for easy compilation from ocaml to javascript

Install

Dune Dependency

Authors

Maintainers

Sources

0.5.7.tar.gz
sha256=9da8e569a8340d0509970a3647e34005427a24dbf435e21f4e6574533b03bfca
md5=fa5e03bef63517bfc439727f60688acd

Description

At thin and easy to use library which implements wrappers around js_of_ocaml to write javascript applications for the browser or for nodejs in ocaml.

Published: 04 Nov 2023

README

Fmlib - Functional Library with Managed Effects for Ocaml

Overview

Fmlib is a functional library which has components for

  • Standard Data Structures (B trees, ... ): Fmlib_std

  • Pretty Printing: Fmlib_pretty

  • Parsing: Fmlib_parse

  • Web applications: Fmlib_browser.

  • Access to the browser and nodejs: Fmlib_js.

API Documentation

Design Documentation: Some designs and the corresponding algorithms are documented separately to ensure correctness of the corresponding designs and algorithms. The design documention is not neccessary to understand the usage of the library from a user's perspective. The user's perspective is documented in the API.

Installation

It is best to install the libraries via the ocaml package manager opam.

opam install fmlib_std
opam install fmlib_pretty
opam install fmlib_parse
opam install fmlib_browser

Usage with dune

A program foo which uses e.g. the library fmlib_std can be e.g. compiled by dune with the dune file

(executable
    (name foo)
    (libraries
        fmlib_std
        ...
    )
)

Dependencies (5)

  1. fmlib_std = version
  2. js_of_ocaml-ppx >= "4.0.0"
  3. js_of_ocaml >= "4.0.0"
  4. dune >= "3.0.0"
  5. ocaml >= "4.08.0"

Dev Dependencies (1)

  1. odoc with-doc

Used by (2)

  1. fmlib = "0.5.7"
  2. fmlib_browser = "0.5.7"

Conflicts

None

OCaml

Innovation. Community. Security.