BFPG Meetup - March 2025 - CANCELLED
Join the BFPG Discord: https://discord.gg/yYz2d8w7FY
Due to impact of TC Alfred, March meetup is CANCELLED. Come for an informal hangout on the Discord :)
Agenda
18:00: Welcome and setup
Presentation #1: Introduction to Pandoc by Siva Kalyan
Presentation #2: Introduction to Hakyll by Rob Ellen
20:00ish: Pack down, head to Criterion pub.
Introduction to Pandoc
Pandoc is a Haskell library (and command-line tool) for converting documents among a range of different formats. It works by parsing the input document into an abstract syntax tree, and then generating the output format from this tree. Pandoc comes with a library of parsers and generators for different formats, all written in the Parsec
framework.
We will work through a simplified example of Markdown parsing and HTML generation using Parsec parsers similar to the ones defined by Pandoc.
Introduction to Hakyll
Hakyll is a powerful and flexible Haskell static site generator library. Websites can be built with a combination of content formats, HTML templates, and CSS, all brought together by an embedded DSL.
We'll take a look at how to work with content and the Hakyll EDSL, what the DSL offers to the personal blogger, and some of the delights and hardships you might find along the way. Then we will look at how the EDSL works, including how Hakyll uses Pandoc to support multiple input/output formats and useful things of developer-focused content. Finally we'll talk about more trivial things like building and deploying a Hakyll site.