Code link: https://github.com/tusharad/haskell-e...
Dive into the world of Haskell parsing with our detailed tutorial on using the Megaparsec library. In this video, we'll guide you through the fundamentals of parsing, showing you how to build efficient and powerful parsers for a variety of tasks. Whether you're parsing simple text or complex data structures, Megaparsec provides the tools you need to succeed. Perfect for both beginners and experienced Haskell developers, this tutorial will enhance your functional programming skills and deepen your understanding of parsing concepts. Don't forget to check the description for example code and additional resources.
#haskell #Megaparsec #Parsing #FunctionalProgramming #CodingTutorial #LearnHaskell
Timestamps:
00:00 - introduction
00:37 - project introduction
00:58 - setting up project
03:10 - megaparsec library info
06:11 - char parser
08:54 - running parseTest on char
10:54 - using parseTest
11:29 - combining multiple parsers
13:09 - extracting parser ouputs
15:33 - string parser
17:03 - symbolChar
18:34 - digitChar
19:21 - alphaNumChar
19:54 - combining all char parsers
22:30 - newline
23:45 - tab
24:00 - space
25:30 - label
26:45 - hidden
27:09 - try
27:45 - alternative
30:28 - try
34:03 - lol
35:40 - lookAhead
36:35 - space,space1
38:04 - lookAhead
40:00 - notFollowedBy
40:40 - some,many
42:11 - .ini parser begin
43:30 - example file
47:00 - parse Config Name
51:00 - parse Key values
55:07 - final parse
56:50 - final notes
Смотрите видео Learn Haskell Parsing with Megaparsec: Comprehensive Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Purely Haskell 23 Май 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 46 раз и оно понравилось 2 людям.