Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
kschiess committed Jun 3, 2014
1 parent b6c8ef5 commit 5b7bec1
Show file tree
Hide file tree
Showing 10 changed files with 452 additions and 156 deletions.
81 changes: 39 additions & 42 deletions website/build/contribute.html
Expand Up @@ -4,19 +4,38 @@
<meta content="text/html;charset=UTF-8" http-equiv="Content-type" />
<title>parslet -Contribute</title>
<meta content="Kaspar Schiess (http://absurd.li)" name="author" />
<link href="images/favicon3.ico" rel="shortcut icon" /><link href="/parslet/stylesheets/site.css" media="screen" rel="stylesheet" type="text/css" /><link href="/parslet/stylesheets/sh_whitengrey.css" media="screen" rel="stylesheet" type="text/css" /><script src="/parslet/javascripts/sh_main.min.js" type="text/javascript"></script><script src="/parslet/javascripts/sh_ruby.min.js" type="text/javascript"></script></head>
<link href="images/favicon3.ico" rel="shortcut icon" />
<link href="/parslet/stylesheets/site.css" rel="stylesheet" type="text/css" /><link href="/parslet/stylesheets/sh_whitengrey.css" rel="stylesheet" type="text/css" /><script src="/parslet/javascripts/sh_main.min.js" type="text/javascript"></script><script src="/parslet/javascripts/sh_ruby.min.js" type="text/javascript"></script>
</head>
<body class="code" onload="sh_highlightDocument();">
<div id="everything">
<div class="main_menu"><img alt="Parslet Logo" src="/parslet/images/parsley_logo.png" /><ul>
<li><a href="/parslet/">about</a></li>
<li><a href="/parslet/get-started.html">get started</a></li>
<li><a href="/parslet/install.html">install</a></li>
<li><a href="/parslet/documentation.html">documentation</a></li>
<li><a href="/parslet/contribute.html">contribute</a></li>
<div class="main_menu">
<img alt="Parslet Logo" src="/parslet/images/parsley_logo.png" />
<ul>
<li>
<a href="/parslet/">about</a>
</li>
<li>
<a href="/parslet/get-started.html">get started</a>
</li>
<li>
<a href="/parslet/install.html">install</a>
</li>
<li>
<a href="/parslet/documentation.html">docs</a>
</li>
<li>
<a href="/parslet/contribute.html">contribute</a>
</li>
<li>
<a href="/parslet/projects.html">projects</a>
</li>
</ul>
</div>
<div class="content">
<h1>Contribute</h1><p>Find parslet to be really useful? Or just found a bug that is really ruining
<h1>
Contribute
</h1><p>Find parslet to be really useful? Or just found a bug that is really ruining
the day for you? Please contribute! Find the code on
<a href="http://github.com/kschiess/parslet">github</a>.</p>
<h2>Contact</h2>
Expand All @@ -35,34 +54,6 @@ <h2>Bugs</h2>
exhibits the bug?</p>
<p>And of course if you provide a properly tested patch, you&#8217;ll be our hero and
get a place in the space below for lifetime.</p>
<h2>Projects</h2>
<p>Have you got a project that uses parslet? Please write
<a href="mailto:kaspar.schiess@absurd.li">us</a> about it.</p>
<p><a href="https://github.com/relevance/edn-ruby"><strong>edn-ruby</strong></a></p>
<p>edn-ruby is a Ruby library to read and write <a href="https://github.com/edn-format/edn">edn</a>
(extensible data notation), a subset of Clojure used for transferring data between
applications, much like <span class="caps">JSON</span>, <span class="caps">YAML</span>, or <span class="caps">XML</span>.</p>
<p><a href="https://github.com/kschiess/parslet/tree/master/example/"><strong>Examples</strong></a></p>
<p>In here, you can find a parser for a lisp like language and much more.</p>
<p><a href="https://github.com/postmodern/net-http-server"><strong>Net::<span class="caps">HTTP</span>::Server</strong></a></p>
<p>A really small and elegant <span class="caps">HTTP</span> server written in Ruby. Think Webrick. Using
parslet. (Postmodern)</p>
<p><a href="https://github.com/Hal9000/regexador"><strong>regexador</strong></a></p>
<p>An external <span class="caps">DSL</span> for Ruby that tries to make regular expressions readable and maintainable. (Hal Fulton)</p>
<p><a href="https://github.com/self-ml/selfml"><strong>self-ml</strong></a></p>
<p>A <a href="http://self-ml.github.io/">self-ml</a> implementation using parslet.
(Ricardo Mendes)</p>
<p><a href="https://github.com/undees/thnad"><strong>thnad</strong></a></p>
<p>Thnad is a tiny programming language with so few features that it is not
useful for anything at all &#8212; except showing how to write a compiler in half
an hour.</p>
<p><a href="https://github.com/rk/werd"><strong>Werd.rb</strong></a></p>
<p>A variant of Chris Pound&#8217;s word generator written in Ruby, with some
improvements. (Robert Kosek)</p>
<p><a href="https://github.com/meh/versionub"><strong>versionub</strong></a></p>
<p>A semantic version parser. (meh)</p>
<p><a href="https://github.com/kernow/shortcode"><strong>shortcode</strong></a></p>
<p>A ruby gem for parsing Wordpress style shortcodes using parslet. (Jamie Dyer)</p>
<h2>Thanks for all the fish &#8212; Contributions</h2>
<ul>
<li><strong>Rory O’Kane</strong> (<a href="https://github.com/roryokane">roryokane</a>) for a careful code
Expand Down Expand Up @@ -109,17 +100,23 @@ <h2>Thanks for all the fish &#8212; Contributions</h2>
<li><strong>Kaspar Schiess</strong> (<a href="http://www.absurd.li">absurd.li</a>) for being brave enough
to actually add another parser library to a field that&#8217;s already bursting
at the seams.</li>
</ul></div>
<div class="copyright"><p><span class="caps">MIT</span> License, 2010-2012, &#169; <a href="http://absurd.li">Kaspar Schiess</a><br/>
Logo by <a href="http://floere.github.com">Florian Hanke</a>, <a href="http://creativecommons.org/licenses/by/1.0/">CC Attribution</a> license</p></div>
<script type="text/javascript">var _gaq = _gaq || [];
</ul>
</div>
<div class="copyright">
<p><span class="caps">MIT</span> License, 2010-2012, &#169; <a href="http://absurd.li">Kaspar Schiess</a><br/>
Logo by <a href="http://floere.github.com">Florian Hanke</a>, <a href="http://creativecommons.org/licenses/by/1.0/">CC Attribution</a> license</p>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-16365074-2']);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();</script>
})();
</script>
</div>
</body>
</html>
65 changes: 49 additions & 16 deletions website/build/documentation.html
Expand Up @@ -4,19 +4,39 @@
<meta content="text/html;charset=UTF-8" http-equiv="Content-type" />
<title>parslet -Documentation</title>
<meta content="Kaspar Schiess (http://absurd.li)" name="author" />
<link href="images/favicon3.ico" rel="shortcut icon" /><link href="/parslet/stylesheets/site.css" media="screen" rel="stylesheet" type="text/css" /><link href="/parslet/stylesheets/sh_whitengrey.css" media="screen" rel="stylesheet" type="text/css" /><script src="/parslet/javascripts/sh_main.min.js" type="text/javascript"></script><script src="/parslet/javascripts/sh_ruby.min.js" type="text/javascript"></script></head>
<link href="images/favicon3.ico" rel="shortcut icon" />
<link href="/parslet/stylesheets/site.css" rel="stylesheet" type="text/css" /><link href="/parslet/stylesheets/sh_whitengrey.css" rel="stylesheet" type="text/css" /><script src="/parslet/javascripts/sh_main.min.js" type="text/javascript"></script><script src="/parslet/javascripts/sh_ruby.min.js" type="text/javascript"></script>
</head>
<body class="code" onload="sh_highlightDocument();">
<div id="everything">
<div class="main_menu"><img alt="Parslet Logo" src="/parslet/images/parsley_logo.png" /><ul>
<li><a href="/parslet/">about</a></li>
<li><a href="/parslet/get-started.html">get started</a></li>
<li><a href="/parslet/install.html">install</a></li>
<li><a href="/parslet/documentation.html">documentation</a></li>
<li><a href="/parslet/contribute.html">contribute</a></li>
<div class="main_menu">
<img alt="Parslet Logo" src="/parslet/images/parsley_logo.png" />
<ul>
<li>
<a href="/parslet/">about</a>
</li>
<li>
<a href="/parslet/get-started.html">get started</a>
</li>
<li>
<a href="/parslet/install.html">install</a>
</li>
<li>
<a href="/parslet/documentation.html">docs</a>
</li>
<li>
<a href="/parslet/contribute.html">contribute</a>
</li>
<li>
<a href="/parslet/projects.html">projects</a>
</li>
</ul>
</div>
<div class="content">
<h1>Documentation</h1><p><a href="get-started.html"><strong>Getting Started</strong></a></p>
<h1>
Documentation
</h1>
<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><a href="https://github.com/kschiess/parslet/tree/master/example/"><strong>Examples</strong></a></p>
Expand All @@ -33,13 +53,20 @@ <h1>Documentation</h1><p><a href="get-started.html"><strong>Getting Started</str
trees</strong>.</li>
<li><a href="tricks.html">Tricks</a> for common situations.</li>
</ul>
<p><strong>Projects</strong></p>
<p>There is a <a href="projects.html">Projects page</a> with everything from <span class="caps">JSON</span> through Java
to Ruby parsed with parslet.</p>
<p><strong>Presentations</strong></p>
<ul>
<li><a href="https://docs.google.com/present/view?id=0AfXgUAUtzyc7ZGZrcG1mNXNfMzIwZ3JjY2c3NW0">Parslet, An Introduction</a> introduces parslet in a few poignant slides. (Bo Jeanes and David Pick)</li>
<li><a href="https://docs.google.com/present/view?id=0AfXgUAUtzy">Parslet, An Introduction</a></li>
<li>&#8220;c7ZGZrcG1mNXNfMzIwZ3JjY2c3NW0 introduces parslet in a few poignant slides.</li>
<li>&#8220;(Bo Jeanes and David Pick)</li>
</ul>
<p><strong>Videos</strong></p>
<ul>
<li><a href="http://www.confreaks.com/videos/2730-wickedgoodruby-writing-dsl-s-with-parslet">Writing DSL&#8217;s with Parslet</a> Talk given by Jason Garber at the Wicked Good Ruby Conference 2013.</li>
<li><a href="http://www.confreaks.com/videos/2730">Writing DSL&#8217;s with Parslet</a></li>
<li>&#8220;-wickedgoodruby-writing-dsl-s-with-parslet Talk given by Jason Garber at the</li>
<li>&#8220;Wicked Good Ruby Conference 2013.</li>
</ul>
<p><strong>Blogs</strong></p>
<ul>
Expand Down Expand Up @@ -68,17 +95,23 @@ <h1>Documentation</h1><p><a href="get-started.html"><strong>Getting Started</str
<p><a href="http://rubydoc.info/gems/parslet/frames"><strong><span class="caps">YARD</span> Class Documentation</strong></a></p>
<p>The <a href="http://rubydoc.info/gems/parslet/frames"><span class="caps">YARD</span> documentation</a> will help you
with the nitty gritty. This documentation is real important too. It will be
constantly improved! (Thanks linode.com and DockYard for sponsoring this tool.)</p></div>
<div class="copyright"><p><span class="caps">MIT</span> License, 2010-2012, &#169; <a href="http://absurd.li">Kaspar Schiess</a><br/>
Logo by <a href="http://floere.github.com">Florian Hanke</a>, <a href="http://creativecommons.org/licenses/by/1.0/">CC Attribution</a> license</p></div>
<script type="text/javascript">var _gaq = _gaq || [];
constantly improved! (Thanks linode.com and DockYard for sponsoring this tool.)</p>
</div>
<div class="copyright">
<p><span class="caps">MIT</span> License, 2010-2012, &#169; <a href="http://absurd.li">Kaspar Schiess</a><br/>
Logo by <a href="http://floere.github.com">Florian Hanke</a>, <a href="http://creativecommons.org/licenses/by/1.0/">CC Attribution</a> license</p>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-16365074-2']);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();</script>
})();
</script>
</div>
</body>
</html>
53 changes: 39 additions & 14 deletions website/build/get-started.html
Expand Up @@ -4,19 +4,38 @@
<meta content="text/html;charset=UTF-8" http-equiv="Content-type" />
<title>parslet -Get Started</title>
<meta content="Kaspar Schiess (http://absurd.li)" name="author" />
<link href="images/favicon3.ico" rel="shortcut icon" /><link href="/parslet/stylesheets/site.css" media="screen" rel="stylesheet" type="text/css" /><link href="/parslet/stylesheets/sh_whitengrey.css" media="screen" rel="stylesheet" type="text/css" /><script src="/parslet/javascripts/sh_main.min.js" type="text/javascript"></script><script src="/parslet/javascripts/sh_ruby.min.js" type="text/javascript"></script></head>
<link href="images/favicon3.ico" rel="shortcut icon" />
<link href="/parslet/stylesheets/site.css" rel="stylesheet" type="text/css" /><link href="/parslet/stylesheets/sh_whitengrey.css" rel="stylesheet" type="text/css" /><script src="/parslet/javascripts/sh_main.min.js" type="text/javascript"></script><script src="/parslet/javascripts/sh_ruby.min.js" type="text/javascript"></script>
</head>
<body class="code" onload="sh_highlightDocument();">
<div id="everything">
<div class="main_menu"><img alt="Parslet Logo" src="/parslet/images/parsley_logo.png" /><ul>
<li><a href="/parslet/">about</a></li>
<li><a href="/parslet/get-started.html">get started</a></li>
<li><a href="/parslet/install.html">install</a></li>
<li><a href="/parslet/documentation.html">documentation</a></li>
<li><a href="/parslet/contribute.html">contribute</a></li>
<div class="main_menu">
<img alt="Parslet Logo" src="/parslet/images/parsley_logo.png" />
<ul>
<li>
<a href="/parslet/">about</a>
</li>
<li>
<a href="/parslet/get-started.html">get started</a>
</li>
<li>
<a href="/parslet/install.html">install</a>
</li>
<li>
<a href="/parslet/documentation.html">docs</a>
</li>
<li>
<a href="/parslet/contribute.html">contribute</a>
</li>
<li>
<a href="/parslet/projects.html">projects</a>
</li>
</ul>
</div>
<div class="content">
<h1>Get Started</h1><p>Let&#8217;s develop a small language that allows for simple computation together.
<h1>
Get Started
</h1><p>Let&#8217;s develop a small language that allows for simple computation together.
Here&#8217;s a valid input file for that language:</p>
<pre class="sh_ruby"><code>
puts(1 + 2)
Expand Down Expand Up @@ -322,17 +341,23 @@ <h2>Where to go from here: An Interpreter</h2>
<p>That&#8217;s a bunch of code for printing <code>[1, 2, 3, 9]</code>. Welcome to the
fantastic world of compiler and interpreter writing!</p>
<p><sup class="footnote" id="fnr1"><a href="#fn1">1</a></sup> As far as parsing goes. There is a subtle difference between
<code>#repeat(0,1)</code> and <code>#maybe</code>. Can you figure it out?</p></div>
<div class="copyright"><p><span class="caps">MIT</span> License, 2010-2012, &#169; <a href="http://absurd.li">Kaspar Schiess</a><br/>
Logo by <a href="http://floere.github.com">Florian Hanke</a>, <a href="http://creativecommons.org/licenses/by/1.0/">CC Attribution</a> license</p></div>
<script type="text/javascript">var _gaq = _gaq || [];
<code>#repeat(0,1)</code> and <code>#maybe</code>. Can you figure it out?</p>
</div>
<div class="copyright">
<p><span class="caps">MIT</span> License, 2010-2012, &#169; <a href="http://absurd.li">Kaspar Schiess</a><br/>
Logo by <a href="http://floere.github.com">Florian Hanke</a>, <a href="http://creativecommons.org/licenses/by/1.0/">CC Attribution</a> license</p>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-16365074-2']);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();</script>
})();
</script>
</div>
</body>
</html>

0 comments on commit 5b7bec1

Please sign in to comment.