Implementations of hoc with PEG.
PEG tool used: peg/leg
- Build on peg/leg example dc.peg as the starting point.
- Support for floating point numbers added.
- Support for unary minus added.
- Major learning point: PEG's greedy matching (for details check
phoc1.peg
).