Workshop: Solving Practical Problems Functionally (Part 1)
summary
Building a command-line utility in F# to serialize text to Protobuf binary and deserialize it back for testing gRPC APIs, using the FParsec parsing library. The talk covers writing grammar-based parsers and tests, constructing an abstract syntax tree from Protobuf-like descriptions, and using that AST to perform serialization.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 1:06Testing philosophy
- 2:58Speaker intro and setup
- 7:10Starting parser project
- 11:18Parser combinators in F#
- 20:08Parsing Protobuf schema
- 23:23Testing parser functionality
- 26:36Implementing identifier parser
- 32:47Full identifier parser
- 37:40Parsing boolean literals
- 40:13Handling syntax declarations
- 43:02AST types
- 45:19Parsing import statements
- 48:23Testing Protobuf parser
- 51:35Workshop break
- 51:55Q&A part 1
- 55:31Q&A part 2
- 56:52Functional parsing benefits
- 57:13Workshop wrap-up
