1Pegex::Tutorial(3)    User Contributed Perl Documentation   Pegex::Tutorial(3)
2
3
4

Pegex Tutorials

6       Pegex has a growing number of tutorials on how to do various parsing
7       tasks.
8
9       This document is just an index to the current tutorials.
10
11       Pegex::Tutorial::JSON
12           This is a very in-depth tutorial of the creation of the module
13           Pegex::JSON (a JSON decoder that uses Pegex) and the thought that
14           went into creating it.  It covers almost all of the Pegex::Syntax
15           as well.
16
17       Pegex::Tutorial::Calculator
18           Pegex comes with an "eg/" directory. One example is
19           "eg/calculator/calculator1.pl" in Pegex. It's a simple precedence
20           parser (and evaluator) for arithmetic expressions like this one:
21
22               1 * (2 + 3) / (4 ^ 5 ^ 6 - -7)
23

See Also

25       Pegex::API
26           API documentation.
27
28       Pegex::Syntax
29           A detailed description of the Pegex grammar language syntax.
30
31       Pegex::Resources
32           A list of all things Pegex.
33
34
35
36perl v5.32.0                      2020-07-28                Pegex::Tutorial(3)
Impressum