carta
kpeg(1)

kpeg1

Ruby parser generator from peg grammar

Usage

kpeg [options]

Overview

kpeg generates ruby parser from a PEG (parsing expression grammar) file.

The grammar syntax is described on kpeg home page <https://github.com/evanphx/kpeg>

Options

    -t, --test                       Syntax check the file only
        --reformat                   Reformat your grammar and write it back out
    -o, --output FILE                Where the output should go
    -n, --name NAME                  Class name to use for the parser
    -f, --force                      Overwrite the output if it exists
    -s, --stand-alone                Write the parser to run standalone
    -v, --[no-]verbose               Run verbosely
    -d, --debug                      Debug parsing the file

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm) to Debian 11 (Bullseye)
  • Debian 10 (Buster) to Debian 8 (Jessie)

Author

This manual page was written by Dominique Dumont <[email protected]>, for the Debian GNU/Linux system(but may be used by others).

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