0/31 уроков (0%)
– из 31
How to Write a Parser in Go
YouTube·GopherCon
Explore the process of building a parser from scratch using goyacc in this GopherCon 2018 talk by Sugu Sougoumarane. Learn how parsers can be applied to real-life applications beyond language construction. Follow along as Sugu demonstrates leveraging Go's features to create elegant constructs and implement them in a toy application. Discover use cases, understand when to use Go Yak, and gain insights into parser functionality. Examine barebones grammar, error handling, and code generation. Dive into lexical analysis, final implementation, and testing strategies. Conclude with a review of patterns used in the sqlparser module of Vitess, and gain practical knowledge on parser development in Go.