Parsing: Go Lexer Doc Collections - go-sqlparser/current GitHub Wiki

Go Lexer Doc Collections

Lexical Scanning in Go
https://talks.golang.org/2011/lex.slide

Presented by Rob Pike titled Lexical Scanning in Go.

Writing a Lexer and Parser in Go - Part 1
https://adampresley.github.io/2015/04/12/writing-a-lexer-and-parser-in-go-part-1.html
Adam Presley on 12 Apr 2015

This series will conclude with a fully functional set of code that can parse INI files.

How to Write a Lexer in Go
https://www.aaronraff.dev/blog/how-to-write-a-lexer-in-go
Aaron Raff June 01, 2020

A lexer is the first phase in all modern compilers, but how do you write one? Let’s build one from scratch in Go!