
(* The type of tokens. *)

type token = 
  | String_ of (string)
  | SEMICOLON
  | RIGHT_PAR
  | RIGHT_BRACKET
  | Qname_ of (string option * string option)
  | PREFIX
  | LEFT_PAR
  | LEFT_BRACKET
  | Iriref_ of (string)
  | Integer of (string)
  | Identifier of (string)
  | HATHAT
  | EOF
  | Double of (string)
  | Decimal of (string)
  | DOT
  | COMMA
  | Boolean of (string)
  | Bname of (string)
  | BASE
  | At_identifier of (string)
  | AT_PREFIX
  | AT_BASE
  | ANON
  | A

(* This exception is raised by the monolithic API functions. *)

exception Error

(* The monolithic API. *)

val nq: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> ((Term.term * Iri.t * Term.term * Ds.name option) list)

val main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ttl_types.turtle)
