package ansi-parse

All checked builds pass
  1. Overview
  2. Docs
Ansiparse is a library for converting raw terminal output, replete with escape codes, into formatted HTML

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.4.0.tar.gz
md5=5683e4ac14bc065a3a5bcf72d5e8b530
sha512=9e7286aaa9a04bef29b5acefef1f0700e054e06418b99e9cba444afdb9a81222f42f8cd8d2c7d9a91b64c4fff0c49a4c0fd7fd7e052694a02484c9dce5d6a5c7

Description

Added to opam-repository:

README

Ansiparse - Escape sequences to HTML

%%0.4.0%%

Ansiparse is a library for converting raw terminal output, replete with escape codes, into formatted HTML.

Ansiparse is distributed under the ISC license.

Homepage: https://github.com/diskuv/ansi-parse

Original Author: Joel Jakubovic

Maintainer: Jonah Beckford

Installation

ansi-parse can be installed with opam:

opam install ansi-parse

If you don't use opam consult the opam file for build instructions.

Documentation

The documentation and API reference is automatically generated by ocamldoc from the interfaces. It can be consulted online and there is a generated version in the doc directory of the distribution.

Sample programs

If you installed ansi-parse with opam sample programs are located in the directory opam config var ansi-parse:doc.

In the distribution sample programs and tests are located in the main and driver directories of the distribution. They can be built and run with:

OCAMLRUNPARAM=b dune build -p ansi-parse @runtest

The resulting binaries are:

  • _build/default/test3.exe
  • _build/default/driver/driver.exe

Local Development

Build, test and pin your locally checked out repository with:

opam install . --verbose --with-test --with-doc

Your changes, if any, must be git commit-ed for opam install to see your changes.

Dependencies (5)

  1. tyxml >= "4.3"
  2. ppx_deriving >= "5.0"
  3. angstrom >= "0.15.0"
  4. dune >= "2.9"
  5. ocaml >= "4.03"

Dev Dependencies (2)

  1. odoc >= "2.0.0" & with-doc
  2. ppx_expect >= "v0.14.1" & with-test

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building ansi-parse 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.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.4.0 (this version) 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