Pegex::Bootstrap(3pm)

Pegex::Bootstrap3pm

Bootstrapping compiler for a pegex grammar

Usage

    use Pegex::Bootstrap;
    my $grammar_text = '... grammar text ...';
    my $pegex_compiler = Pegex::Bootstrap->new();
    my $grammar_tree = $pegex_compiler->compile($grammar_text)->tree;

Overview

The Pegex language is defined in Pegex. In order to do that, it was necessary to make a bootstrap compiler that did the same thing. This way we could slowly build up the grammar, and make sure that the 2 compilers do the same thing. Parsing the Pegex language itself is not terribly hard, so this module just does it by hand.

Unless you are working on Pegex itself, you can ignore this module.

Releases

7 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12–13
  6. Arch

Author

Ingy döt Net <[email protected]>

From perl-pegex 0.75-8 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.