PureConf

PureConf

On theory and practice of PureScript

James Brock

Monadic Parsers at the Input Boundary

Submitted Jan 30, 2022

When reading a byte stream over the process I/O boundary, the first thing which everyone should do is to parse the byte stream with a monadic parser.

The talk will discuss

  • Processes and input byte streams.
  • Monadic parsers. What they are and why they matter.
  • The design and use of the purescript-parsing library.
  • How to use monadic parsers instead of regular expressions with the purescript-parsing-replace library.
  • When not to use monadic parsers.

This talk is intended for an audience who has some familiarity with monads and regular expressions. This talk is inspired and informed by the essay Parse, don’t validate by Alexis King.

Slides and script: https://github.com/jamesdbrock/monadic-parsers-at-input-boundary

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

FP-Juspay is a forum to dive deep and contribute to the world of Functional Programming - Frameworks, Applications and People. more

Supported by

Community sponsor

Welcome to the MLabs page! We are a Haskell consultancy and a collection of real FP geeks. We are hiring Haskellers, Purescripters and other FP enthusiasts all year round. If you love Haskell and are looking for a job or internship, you apply here: https://apply.workable.com/mlabs/j/63DAAA4AEF/ more

Promoted

nilenso is a boutique technology consultancy based in Bangalore. Over the past 9 years, we have worked on projects in e-commerce, logistics, machine learning, data science, healthcare, payments and education. You can read about some our recent projects here: https://nilenso.com/recent-tech.html. Ou… more

Promoted