package lambdapi

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Parser.LpSource

include PARSER

parse inchan returns a stream of commands parsed from channel inchan. Commands are parsed lazily and the channel is closed once all entries are parsed.

Sourceval parse_file : string -> Syntax.ast

parse_file fname returns a stream of parsed commands of file fname. Commands are parsed lazily.

Sourceval parse_string : string -> string -> Syntax.ast

parse_string f s returns a stream of parsed commands from string s which comes from file f (f can be anything).

parse inchan returns a stream of terms parsed from channel inchan. Terms are parsed lazily and the channel is closed once all entries are parsed.

Sourceval parse_term_file : string -> Syntax.p_term Stream.t

parse_file fname returns a stream of parsed terms of file fname. Terms are parsed lazily.

Sourceval parse_term_string : string -> string -> Syntax.p_term Stream.t

parse_string f s returns a stream of parsed terms from string s which comes from file f (f can be anything).

Sourceval parse_search_query_string : string -> string -> SearchQuerySyntax.query Stream.t

parse_search_query_string f s returns a stream of parsed terms from string s which comes from file f (f can be anything).

Sourceval parse_qid : string -> Core.Term.qident
OCaml

Innovation. Community. Security.