Sample project for a blog series on lexing and parsing
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
model/ini
services
.gitignore
LICENSE
README.md
sampleIniParser.go

README.md

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.