Re:Participle: A parser library for Go
by pjmlp on Tuesday July 17, 2018 @08:16AM
(#17549124)
Clever idea of using struct tags for grammar rules.
[ Parent
| on HN ]
Re:Participle: A parser library for Go
by childintime on Tuesday July 17, 2018 @09:30AM
(#17549581)
This maps well to how I think of parsing. Refreshing. I will have to give it a shot.
Wouldn't that then require reflection, which is "slow" (comparatively speaking - if this isn't in a hot path then perhaps who cares?)
It's not in the hot path, it's used to generate the parser.