-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #297 from hildjj/discord
Add Discord widget
- Loading branch information
Showing
2 changed files
with
83 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -157,3 +157,7 @@ | |
#output { | ||
max-width: 50vw; | ||
} | ||
|
||
#discord { | ||
margin-top: 3em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,101 +2,101 @@ | |
<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]> | ||
<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]--> | ||
<![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="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> | ||
</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> | ||
<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> | ||
<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> | ||
</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> |