GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Pegex::Bootstrap(3) User Contributed Perl Documentation Pegex::Bootstrap(3)

Pegex::Bootstrap - Bootstrapping Compiler for a Pegex Grammar

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

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.

Pegex::Compiler

Ingy döt Net <ingy@cpan.org>

Copyright 2010-2020. Ingy döt Net.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <http://www.perl.com/perl/misc/Artistic.html>

2020-02-13 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.