Prasanth Janardhanan · Jan 15, 2021
Building a simple query parser using PEG in Go
0Sign in to vote or save
This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
In another post, Simple Query Parser we had built a simple query parser using Participle - a parser builder for go lang.
 Parsing expression grammar (PEG) is a type of grammar. The advantage of PEG is that it doesn’t tolerate ambiguous grammar definitions and so is better in error reporting. 
 The go language port of PEG is pigeon 
The popular Javascript port of PEG is pegjs . A…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.