|
2 | 2 | <html>
|
3 | 3 |
|
4 | 4 | <head>
|
5 |
| - <meta charset="utf-8"> |
6 |
| - <meta name="copyright" content="Copyright © 2022 The Peggy Authors"> |
7 |
| - <meta name="keywords" content="parser generator, PEG, JavaScript, PEG.js"> |
8 |
| - <meta name="description" content="Peggy is a parser generator for JavaScript based on the parsing expression grammar formalism."> |
9 |
| - <title>Peggy – Parser Generator for JavaScript</title> |
10 |
| - <link rel="stylesheet" href="css/common.css"> |
11 |
| - <link rel="stylesheet" href="css/layout-default.css"> |
12 |
| - <link rel="stylesheet" href="css/content.css"> |
13 |
| - <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> |
14 |
| - <!--[if IE]> |
| 5 | + <meta charset="utf-8"> |
| 6 | + <meta name="copyright" content="Copyright © 2022 The Peggy Authors"> |
| 7 | + <meta name="keywords" content="parser generator, PEG, JavaScript, PEG.js"> |
| 8 | + <meta name="description" |
| 9 | + content="Peggy is a parser generator for JavaScript based on the parsing expression grammar formalism."> |
| 10 | + <title>Peggy – Parser Generator for JavaScript</title> |
| 11 | + <link rel="stylesheet" href="css/common.css"> |
| 12 | + <link rel="stylesheet" href="css/layout-default.css"> |
| 13 | + <link rel="stylesheet" href="css/content.css"> |
| 14 | + <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> |
| 15 | + <!--[if IE]> |
15 | 16 | <script>
|
16 | 17 | var html5elements = ["aside", "footer", "header", "nav"];
|
17 | 18 | for (var i = 0; i < html5elements.length; i++) {
|
18 | 19 | document.createElement(html5elements[i]);
|
19 | 20 | }
|
20 | 21 | </script>
|
21 |
| - <![endif]--> |
| 22 | + <![endif]--> |
22 | 23 |
|
23 | 24 | </head>
|
24 | 25 |
|
25 | 26 | <body>
|
26 |
| - <div id='main'> |
27 |
| - <header id="header"> |
28 |
| - <h1><a href="#main">Peggy</a></h1> |
29 |
| - <h2>Parser Generator for JavaScript</h2> |
30 |
| - </header> |
31 |
| - |
32 |
| - <nav id="menu"> |
33 |
| - <a class="current" href="#main">Home</a> |
34 |
| - <a href="online.html">Online Version</a> |
35 |
| - <a href="documentation.html">Documentation</a> |
36 |
| - <a href="development/index.html">Development</a> |
37 |
| - </nav> |
38 |
| - |
39 |
| - <div id="content"> |
40 |
| - |
41 |
| - |
42 |
| - |
43 |
| - <div id="sidebar"> |
44 |
| - <a class="try" href="online.html">Try Peggy online</a> |
45 |
| - <div class="separator">— or —</div> |
46 |
| - <pre class="install">npm install peggy</pre> |
47 |
| - <div class="separator">— or —</div> |
48 |
| - <div class="separator">— or —</div> |
49 |
| - <div class="label">Download browser version</div> |
50 |
| - <span id="download"> |
51 |
| - <a title="Download a minified version of Peggy for the browser" |
52 |
| - href=" https://unpkg.com/[email protected]/browser/peggy.min.js" >minified </a> |
53 |
| - </span> |
54 |
| - </div> |
55 |
| - |
56 |
| - <div id="left-column"> |
57 |
| - <p> |
58 |
| - Peggy is a simple parser generator for JavaScript that produces fast |
59 |
| - parsers with excellent error reporting. You can use it to process complex data |
60 |
| - or computer languages and build transformers, interpreters, compilers and |
61 |
| - other tools easily. |
62 |
| - </p> |
| 27 | + <div id='main'> |
| 28 | + <header id="header"> |
| 29 | + <h1><a href="#main">Peggy</a></h1> |
| 30 | + <h2>Parser Generator for JavaScript</h2> |
| 31 | + </header> |
| 32 | + |
| 33 | + <nav id="menu"> |
| 34 | + <a class="current" href="#main">Home</a> |
| 35 | + <a href="online.html">Online Version</a> |
| 36 | + <a href="documentation.html">Documentation</a> |
| 37 | + <a href="development/index.html">Development</a> |
| 38 | + </nav> |
| 39 | + |
| 40 | + <div id="content"> |
| 41 | + |
| 42 | + <div id="sidebar"> |
| 43 | + <a class="try" href="online.html">Try Peggy online</a> |
| 44 | + <div class="separator">— or —</div> |
| 45 | + <pre class="install">npm install peggy</pre> |
| 46 | + <div class="separator">— or —</div> |
| 47 | + <div class="label">Download browser version</div> |
| 48 | + <span id="download"> |
| 49 | + <a title="Download a minified version of Peggy for the browser" |
| 50 | + href=" https://unpkg.com/[email protected]/browser/peggy.min.js" >minified </a> |
| 51 | + </span> |
| 52 | + <iframe |
| 53 | + id="discord" |
| 54 | + src="https://discordapp.com/widget?id=985995982909100082&theme=dark" |
| 55 | + width="250" |
| 56 | + height="250" |
| 57 | + allowtransparency="true" |
| 58 | + frameborder="0" |
| 59 | + sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"> |
| 60 | + </iframe> |
| 61 | + </div> |
| 62 | + |
| 63 | + <div id="left-column"> |
| 64 | + <p> |
| 65 | + Peggy is a simple parser generator for JavaScript that produces fast |
| 66 | + parsers with excellent error reporting. You can use it to process complex data |
| 67 | + or computer languages and build transformers, interpreters, compilers and |
| 68 | + other tools easily. |
| 69 | + </p> |
63 | 70 |
|
64 | 71 | <h2>Features</h2>
|
65 | 72 |
|
66 | 73 | <ul>
|
67 |
| - <li>Simple and expressive grammar syntax</li> |
68 |
| - |
69 |
| - <li>Integrates both lexical and syntactical analysis</li> |
70 |
| - |
71 |
| - <li>Parsers have excellent error reporting out of the box</li> |
72 |
| - |
73 |
| - <li> |
74 |
| - Based on <a href="https://en.wikipedia.org/wiki/Parsing_expression_grammar">parsing |
75 |
| - expression grammar</a> formalism — more powerful than traditional LL(<em>k</em>) |
76 |
| - and LR(<em>k</em>) parsers |
77 |
| - </li> |
78 |
| - |
79 |
| - <li> |
80 |
| - Usable <a href="online.html">from your browser</a>, from the command |
81 |
| - line, or via JavaScript API |
82 |
| - </li> |
83 |
| - |
84 |
| - <li> |
85 |
| - <a href="https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Use_a_source_map">Source map</a> support. |
86 |
| - </li> |
| 74 | + <li>Simple and expressive grammar syntax</li> |
| 75 | + <li>Integrates both lexical and syntactical analysis</li> |
| 76 | + <li>Parsers have excellent error reporting out of the box</li> |
| 77 | + <li> |
| 78 | + Based on <a href="https://en.wikipedia.org/wiki/Parsing_expression_grammar">parsing |
| 79 | + expression grammar</a> formalism — more powerful than traditional LL(<em>k</em>) |
| 80 | + and LR(<em>k</em>) parsers |
| 81 | + </li> |
| 82 | + <li> |
| 83 | + Usable <a href="online.html">from your browser</a>, from the command |
| 84 | + line, or via JavaScript API |
| 85 | + </li> |
| 86 | + <li> |
| 87 | + <a href="https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Use_a_source_map">Source map</a> |
| 88 | + support. |
| 89 | + </li> |
87 | 90 | </ul>
|
88 |
| - </div> |
89 |
| - |
90 |
| - |
91 |
| - |
92 |
| - </div> |
93 |
| - |
94 |
| - <footer id="footer"> |
95 |
| - Copyright © 2022 <a href="https://github.com/peggyjs/peggy/blob/main/AUTHORS">The Peggy Authors</a> |
96 |
| - • |
97 |
| - <a href="https://github.com/peggyjs/peggy">Source code</a> |
98 |
| - </footer> |
| 91 | + </div> |
99 | 92 | </div>
|
| 93 | + |
| 94 | + <footer id="footer"> |
| 95 | + Copyright © 2022 <a href="https://github.com/peggyjs/peggy/blob/main/AUTHORS">The Peggy Authors</a> |
| 96 | + • |
| 97 | + <a href="https://github.com/peggyjs/peggy">Source code</a> |
| 98 | + </footer> |
| 99 | + </div> |
100 | 100 | </body>
|
101 | 101 |
|
102 | 102 | </html>
|
0 commit comments