y2racc(1)

y2racc1

Yacc grammar to racc grammar

Usage

y2racc [options] raccfile

Overview

Y2racc converts yacc grammar to racc grammar.

Options

-o, --output-file <outfile>

name of output file. [r.<inputfile>]

-c <name>

name of parser class. [MyParser]

-u

output also user code (%%....)

-H

cut off header (%{....%})

-A

cut off actions.

-U

cut off user code (%%....) (default)

-h, --help

print this message and quit.

--version

print version and quit.

Releases

Unchanged in 11 releases since Debian 3.1 (Sarge).

  1. 3.1–13

From racc 1.8.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.