package mlt_parser

Build not checked
  1. Overview
  2. Docs
Parsing of top-expect files

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mlt_parser-v0.13.0.tar.gz
sha256=92732dae9bc83c9708735c51322b4987d8ca26b7d658459804e37036780360af
md5=7a2359aa78fd88ce9c3f85873558d962

Description

Mlt_parser contains functions for parsing .mlt files (which contain OCaml toplevel sessions) both to power toplevel expect tests and to support a tool that converts .mlt files into .org files, for literate-style documentation.

Added to opam-repository:

README

MLT Parser

Mlt_parser contains functions for parsing *.mlt files, which contain OCaml toplevel sessions -- i.e., a series of statements followed by their output (in the form of expect tests).

The first of these functions, split_chunks, was extracted out of Toplevel_expect_test, where it's used to divide the toplevel session into "chunks", where each chunk comprises a set of toplevel code phrases (statements separated by ;;) and the expect test they precede.

The second, parse, is used by a tool that converts *.mlt files into *.org files. That tool needs to be able to distinguish OCaml code phrases, expect tests, and blocks of org-mode markup (delimited by [%%org] annotations).

Dependencies (6)

  1. ppxlib >= "0.9.0"
  2. dune >= "1.5.1"
  3. ppx_jane >= "v0.13" & < "v0.14"
  4. ppx_expect >= "v0.13" & < "v0.14"
  5. core_kernel >= "v0.13" & < "v0.14"
  6. ocaml >= "4.08.0"

Dev Dependencies

None

Optional Dependencies

None

Used by (1)

  1. toplevel_expect_test < "v0.14.0"

Conflicts

None

Build status

Results of building mlt_parser with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. 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.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
v0.17.0 n/a n/a good good good
v0.16.0 n/a good good n/a n/a
v0.15.0 good good n/a n/a n/a
  • 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