/sample-ini-parser

Sample project for a blog series on lexing and parsing

Primary LanguageGoMIT LicenseMIT

Sample INI Parser

Sample project for a blog series on lexing and parsing. This project demonstrates creating a lexer and basic parser using techniques presented by Rob Pike from one of his presentations. The basic premise revoles around a lexer that starts by executing functions that process tokens, each one returning a function that represents the next expected token state.