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

Releases

6 releases since Debian 8 (Jessie); the text changed 2 times.

  1. 8–10
  2. 11–12
  3. 13

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.