package delimited_parsing

  1. Overview
  2. Docs

Delimited_parsing contains parsers for three common file formats:

Character_separated_without_quoting parses fields separated by a character, where fields may contain escaped characters (e,g, \n) but fields may not be quoted (e.g., "foo bar").

module Csv : sig ... end

Csv parses character-separated values where fields may be quoted and quotation marks within quoted fields are escaped with another quotation mark, MSExcel-style.

module Positional : sig ... end

Positional parses fixed-width fields.

For upgrading or maintaining legacy code.

module Replace_deprecated_csv : sig ... end

Replace_deprecated_csv is a drop-in replacement for existing users of Async_extended.Delimited. It is faster, tested, and supported.

Modules shared between multiple parsers.

module Header : sig ... end
module Row : sig ... end

The following are exposed only for backwards-compatibility or testing.

module Deprecated : sig ... end
module Deprecated_intf : sig ... end
module Deprecated_csv : sig ... end
OCaml

Innovation. Community. Security.