<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Derivatives of Parsing Expression Grammars · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/1405.4841/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/1405.4841/feed.xml" rel="self" type="application/rss+xml" /><item><title>Derivatives of Parsing Expression Grammars — mentioned by BruceIV</title><link>https://news.ycombinator.com/item?id=8511782</link><guid isPermaLink="false">urn:hackerpapers:mention:1405.4841:8511782</guid><pubDate>Sun, 26 Oct 2014 18:25:22 GMT</pubDate><description>&lt;p&gt;I&amp;#x27;ve been working on a derivative parsing algorithm for PEGs; it only uses memory proportional to the amount of backtracking and grammar nesting (i.e. about the same as recursive descent), but still gives a polynomial worst-case bound on time. An early draft of my paper on it is at [1]; this turned out to be about 6x slower than packrat when I actually built and tested it, but I&amp;#x27;ve come up with a substantial simplification to the algorithm that I&amp;#x27;m quite optimistic will have better performance results once I finish debugging my code. [1] http://arxiv.org/abs/1405.4841&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1405.4841/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.FL</category></item></channel></rss>
