Understanding Parser Combinators - A Deep Dive
Offered By: NDC Conferences via YouTube
Course Description
Overview
Dive deep into the world of parser combinators in this comprehensive 53-minute conference talk. Learn how to build a parser combinator library from scratch using functional programming techniques in F#. Explore the concept of combinators, understand why parsing is important, and discover how to create simple parsers. Progress through more advanced topics such as map combinators, fixing operators, and compound combinators. Follow along with a live demo and learn how to improve parser performance. Apply your newfound knowledge to construct a full-featured JSON parser, covering various data types including null, strings, lists, Unicode characters, and integers. Gain valuable insights into this alternative approach to traditional parsing methods, which offers simplicity comparable to regular expressions.
Syllabus
Intro
Outline
What is a Combinator
Why parse
Simple parser
Combinators
Map Combinator
Fix Operators
Demo
Compound Combinators
Parsing
More combinators
Improving the parser
Building a JSON parser
Null
Strings
List of passes
Unicode character
Integers
Combine
Parse
Summary
Outro
Taught by
NDC Conferences
Related Courses
Functional Programming Principles in ScalaÉcole Polytechnique Fédérale de Lausanne via Coursera Functional Program Design in Scala
École Polytechnique Fédérale de Lausanne via Coursera Paradigms of Computer Programming
Université catholique de Louvain via edX Introduction to Functional Programming
Delft University of Technology via edX Paradigms of Computer Programming – Fundamentals
Université catholique de Louvain via edX