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