summaryrefslogtreecommitdiff
path: root/doc/example_overview.html
blob: 88d15a3bbbe1fa4442596fba901425167741c289 (plain)
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

<!DOCTYPE html>

<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>/example Overview - Packrat Docs</title>
    <link href="default.css" rel="stylesheet">
  </head>

  <body>


  <h2>/example Overview</h2>

  <a href="index.html">Return to Contents</a>


  <table>
    <tr>
      <td>calc.adb</td>
      <td>Implements a basic expression calculator using lexer and parser combinators.
      Can handle <em>+ - * / ^ ()</em> operators. Run with the <em>--help</em> switch for more info.</td>
    </tr>
    <tr>
      <td>sentence.adb</td>
      <td>Implements the sentence grammar used as an example in the reference paper on pages 2-3.</td>
    </tr>
    <tr>
      <td>ssss.adb</td>
      <td>Implements the highly ambiguous <em>s</em> grammar used in the reference paper on pages 5 and 12-13.
      Length of input can be adjusted by command line argument and is therefore good for experiments on
      complexity of the library. Also responds to the <em>--help</em> switch.</td>
    </tr>
  </table>


  </body>
</html>