package liquidsoap-lang

  1. Overview
  2. Docs
type tokenizer = unit -> Parser.token * Term_base.parsed_pos
type exp_item =
  1. | String of string
  2. | Expr of tokenizer
  3. | End
exception Found_interpolation
val expand_string : ?fname:string -> (unit -> Parser.token * Term_base.parsed_pos) -> unit -> Parser.token * Term_base.parsed_pos

Special token in order to avoid 3.s = "a" to be parsed as a float followed by a record.

val dotvar : (unit -> Parser.token * 'a) -> unit -> Parser.token * 'a
val uminus : (unit -> Parser.token * 'a) -> unit -> Parser.token * 'a

Change MINUS to UMINUS if the minus is not preceded by a number (or an expression which could produce a number).

val strip_newlines : (unit -> Parser.token * ('a * 'b)) -> unit -> Parser.token * ('a * 'b)
val mk_tokenizer : ?fname:string -> Sedlexing.lexbuf -> unit -> Parser.token * Lexing.position * Lexing.position
OCaml

Innovation. Community. Security.