File: Tutorial.pod

package info (click to toggle)
libpegex-perl 0.75-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 908 kB
  • sloc: perl: 3,288; makefile: 43; sh: 2
file content (51 lines) | stat: -rw-r--r-- 1,028 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
=pod

=for comment
DO NOT EDIT. This Pod was generated by Swim v0.1.48.
See http://github.com/ingydotnet/swim-pm#readme

=encoding utf8

=head1 Pegex Tutorials

Pegex has a growing number of tutorials on how to do various parsing tasks.

This document is just an index to the current tutorials.

=over

=item L<Pegex::Tutorial::JSON>

This is a very in-depth tutorial of the creation of the module L<Pegex::JSON>
(a JSON decoder that uses Pegex) and the thought that went into creating it.
It covers almost all of the L<Pegex::Syntax> as well.

=item L<Pegex::Tutorial::Calculator>

Pegex comes with an C<eg/> directory. One example is
L<Pegex/eg/calculator/calculator1.pl>. It's a simple precedence parser (and
evaluator) for arithmetic expressions like this one:

    1 * (2 + 3) / (4 ^ 5 ^ 6 - -7)

=back

=head1 See Also

=over

=item L<Pegex::API>

API documentation.

=item L<Pegex::Syntax>

A detailed description of the Pegex grammar language syntax.

=item L<Pegex::Resources>

A list of all things Pegex.

=back

=cut