It’s usually not enough to simply recognize patterns in an input stream. Soon we will want to take action based on what we recognize. In order to facilitate this, we will begin creating semantic values from the input tokens and trigger semantic actions when certain patterns are recognized. In part 1 of this series we […]
07
Mar
2011
Parsing Expression Grammars, part 2
Tags: actor, composition, grammar, laziness, pattern-matching, PEG, protocol, sequence, streams, value