package fmlib_parse
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=ceeef0fc034eaf510ef2d8decda4ea500d4855202e39f03132385153d3c0adf7
md5=b1c666fde2efc94be7a17d3fa986251e
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.
Published: 18 Oct 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
.
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)
-
fmlib_pretty
= version
-
fmlib_std
= version
-
ppx_inline_test
>= "v0.13.0"
-
dune
>= "3.0.0"
-
ocaml
>= "4.08.0"
Dev Dependencies (1)
-
odoc
with-doc
Used by (1)
-
fmlib
= "0.5.6"
Conflicts
None