PaesslerAG / gval

Expression evaluation in golang
BSD 3-Clause "New" or "Revised" License
731 stars 82 forks source link

Add Scanner interface to allow lexing none-Go languages #98

Open JanHoefelmeyer opened 1 year ago

JanHoefelmeyer commented 1 year ago

Solves https://github.com/PaesslerAG/gval/issues/97.

Creates a new Scanner if an option was set which is able to parse single-quoted strings as strings.

The default behavior if this option was not used is not changed.