Parsers.ParserSourceAbstract parser stream representation.
Abstract type for input.
read str reads a single entry from the parser stream str. When no more entry is available, the End_of_file exception is raised.
from_channel in creates a parser stream for the environment env env given the input in.
handle in f parses the input in in the environment env, using the action f on each entry. Note that the input is parsed lazily. This function can thus be applied to stdin.
parse in completely parses the input in and returns the corresponding list of entries.