Permalink
Browse files

Website update

  • Loading branch information...
1 parent ca22ea6 commit 9d59363f14b0292676187287bee25d7b5ad06aa0 @kschiess committed May 19, 2016
View
4 website/build/contribute.html
@@ -56,6 +56,10 @@
get a place in the space below for lifetime.</p>
<h2>Thanks for all the fish &#8212; Contributions</h2>
<ul>
+ <li><strong>Chris Wendt</strong> (<a href="https://github.com/chrismwendt">chrismwendt</a>) for the &#8216;ignore&#8217;
+ atom and other improvements!</li>
+</ul>
+<ul>
<li><strong>Raphaël Simon</strong> (<a href="https://github.com/raphael">raphael</a>) for a nice contextual
error reporter!</li>
</ul>
View
1 website/build/documentation.html
@@ -39,6 +39,7 @@
<p><a href="get-started.html"><strong>Getting Started</strong></a></p>
<p>Are you brand new to parslet? Well then let&#8217;s introduce you guys. This is what
you should read and try out first.</p>
+ <p>There&#8217;s also a <a href="https://www.youtube.com/watch?v=_F-eh66zw90">video version</a>!</p>
<p><a href="https://github.com/kschiess/parslet/tree/master/example/"><strong>Examples</strong></a></p>
<p>Parslet comes with a lot of examples that explain how to use various aspects.
Take a look at those.</p>
View
6 website/build/index.html
@@ -42,13 +42,13 @@
# Constructs a parser using a Parser Expression Grammar
parser = str('"') &gt;&gt;
(
- str('\\') &gt;&gt; any |
+ str('\\').ignore &gt;&gt; any |
str('"').absent? &gt;&gt; any
).repeat.as(:string) &gt;&gt;
str('"')
- result = parser.parse %Q("this is a valid string")
- result # =&gt; {:string=&gt;"this is a valid string"@1}
+ result = parser.parse %Q("this is a valid \\"string\\"")
+ result # =&gt; {:string=&gt;"this is a valid \"string\""@1}
</code></pre>
<p>A small Ruby library for constructing parsers in the
<a href="http://en.wikipedia.org/wiki/Parsing_expression_grammar"><span class="caps">PEG</span></a> (Parsing
View
2 website/source/documentation.html.textile
@@ -7,6 +7,8 @@ title: Documentation
Are you brand new to parslet? Well then let's introduce you guys. This is what
you should read and try out first.
+There's also a "video version":https://www.youtube.com/watch?v=_F-eh66zw90!
+
"*Examples*":https://github.com/kschiess/parslet/tree/master/example/
Parslet comes with a lot of examples that explain how to use various aspects.

0 comments on commit 9d59363

Please sign in to comment.