Module Prec


module Prec: sig .. end
Prec implements precedence relation grammars.

author: Jeff Heinz

last updated: June 2, 2007

This page explains how to use the prec command line executable. Prec implements precedence relation grammars.

Usage

Invocation

Like other OCaML executables, the program is run by typing ./prec or ocamlrun prec at the command prompt. If you compiled using ocamlopt then you can just type prec. Generally it is invoked as follows.

prec subcommand options

Subcommands

The output of the prec command is always written to standard output. Therefore it is possible to pipe it | to other commands or direct it > to a file.

By itself prec will not do anything-- the argument subcommand is mandatory. The subcommand arguments recognized by prec are shown in the list below. A brief description of each subcommand is given.

Options

Following the first argument (the main command) you can optionally list as many of the following flags as you like (separated by spaces):