j-mie6 / parsley

A fast and modern parser combinator library for Scala
https://j-mie6.github.io/parsley/
BSD 3-Clause "New" or "Revised" License
173 stars 15 forks source link

Additional labelling configuration for symbols #220

Closed j-mie6 closed 7 months ago

j-mie6 commented 9 months ago

In ErrorConfig, it might be useful to provide an additional Map[String, String] configuration to give names to any non-keyword or operator symbol. This would allow clean labelling within the lexer, without resorting to forced labelling in bridges (which should be reserved ideally for grammatical labelling not lexical).

j-mie6 commented 7 months ago

This was resolved in 4.5.0