<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>LSUG September 2023 Jamie Willis: Writing maintainable parsers with Parsley</title>
        <link>https://peertube.ichigo.everydayimshuflin.com/videos/watch/4c876473-92eb-4ddf-a32e-f10a894bc2fe</link>
        <description>Over the course of my PhD, I watched hundreds of students write parsers, and distilled transferable parser combinator design patterns to fix their biggest pain-points. Not satisfied with just identifying the patterns, however, I figured out how to provide first-class support for the patterns in the Parsley Scala parser combinator library (https://github.com/j-mie6/parsley), making it easy to start using these ideas and helping guide the parser writer to make use of them from the outset. In this talk, we’ll explore Parsley with some live-coding, and see how it can be used to create clean and maintainable parsers that can evolve straightforwardly by following the patterns. Parsley “compiles” itself to an abstract machine, which is executed, so the high-level abstractions introduced have a minimal impact on the overall running of the parser – the result is something much more efficient than the classic scala-parser-combinators library. Jamie is a (quite possibly former!) PhD student at Imperial College London interested in Scala, parser combinators, and metaprogramming. His research was to use staged metaprogramming to implement fast non-monadic parser combinator libraries in Haskell: though he hopes to soon port this work back to Scala. This is not the subject of the talk however; he also takes an interest in teaching, and how to teach parser combinators as well as how to best to write them in a maintainable way.</description>
        <lastBuildDate>Tue, 28 Apr 2026 18:48:56 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>PeerTube - https://peertube.ichigo.everydayimshuflin.com</generator>
        <image>
            <title>LSUG September 2023 Jamie Willis: Writing maintainable parsers with Parsley</title>
            <url>https://peertube.ichigo.everydayimshuflin.com/client/assets/images/icons/icon-512x512.png</url>
            <link>https://peertube.ichigo.everydayimshuflin.com/videos/watch/4c876473-92eb-4ddf-a32e-f10a894bc2fe</link>
        </image>
        <copyright>All rights reserved, unless otherwise specified in the terms specified at https://peertube.ichigo.everydayimshuflin.com/about and potential licenses granted by each content's rightholder.</copyright>
        <atom:link href="https://peertube.ichigo.everydayimshuflin.com/feeds/video-comments.xml?videoId=4c876473-92eb-4ddf-a32e-f10a894bc2fe" rel="self" type="application/rss+xml"/>
    </channel>
</rss>