package comby

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val to_string : string -> string -> char list -> string
val anything_including_newlines : until:string -> (char list, 'a) MParser.t
val anything_excluding_newlines : until:string -> (char list, 'a) MParser.t
val non_nested_comment : string -> string -> 'a MParser.state -> (string, 'a) MParser.reply

a parser for comments with delimiters from and until that do not nest

val until_newline : string -> 'a MParser.state -> (string, 'a) MParser.reply
val any_newline : string -> 'a MParser.state -> (string, 'a) MParser.reply
val is_not : ('a MParser.state -> ('b, 'c) MParser.reply) -> 'a MParser.state -> (char, 'a) MParser.reply
val nested_comment : string -> string -> 'a MParser.state -> (string, 'a) MParser.reply

A nested comment parser

module Multiline : sig ... end

a parser for, e.g., /* ... */ style block comments. Non-nested.

module Until_newline : sig ... end
module Nested_multiline : sig ... end
OCaml

Innovation. Community. Security.