package fmlib_parse

All checked builds pass
  1. Overview
  2. Docs
Parsing with combinators and indentation sensitivity

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.6.2.tar.gz
sha256=8b7b1245e7c9b57174aba854e2c44ea22403c12955a0ae01a437604763f350f3

Description

A parsing library with combinators in the style of Haskell's parsec.

The parsing combinators have support for indentation sensitivity. Therefore it is easy to parse yaml files and indentation sensitive languages like Haskell and Python.

Futhermore it is easy to generate user friendly error messages.

Added to opam-repository:

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_pretty = version
  2. fmlib_std = version
  3. ppx_inline_test >= "v0.13.0"
  4. dune >= "3.0.0"
  5. ocaml >= "4.14.0"

Dev Dependencies (1)

  1. odoc with-doc

Used by (3)

  1. fmlib >= "0.6.2"
  2. MlFront_Lua
  3. MlFront_Thunk >= "2.4.2.169"

Conflicts

None

Build status

Results of building fmlib_parse with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.6.2 (this version) n/a good good good good
0.5.11 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure