package dolmen_loop

  1. Overview
  2. Docs

The Parser module for the language.

Main interface

exception Error of int

Exception raised by the parser when it encounters an error.

A function that parses an entire file, i.e until the end-of-file token, and return the list of parsed statements.

A function to parse a single statement. Reutnrs None if it encounters the end-of-file token. Used for incremental parsing.