kpeg(1) ruby parser generator from PEG grammar


kpeg [ options ]


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

The grammar syntax is described on kpeg home page <>


    -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


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