Open keimpema opened 1 month ago
I would like to be able to use the built-in number parsers (pfloat, numberLiteral) with a specific culture so that I can parse numbers with a comma as a decimal separator. Correct me if I'm wrong, but this does not seem possible at the moment.
It is hard coded, you need to write new number parser.
https://github.com/stephan-tolksdorf/fparsec/blob/156cbd751fac67ca7cc04cf661710f1f90a216a5/FParsec/CharParsers.fs#L996
https://github.com/stephan-tolksdorf/fparsec/blob/156cbd751fac67ca7cc04cf661710f1f90a216a5/FParsec/CharParsers.fs#L1153
https://github.com/stephan-tolksdorf/fparsec/blob/156cbd751fac67ca7cc04cf661710f1f90a216a5/FParsecCS/HexFloat.cs#L233
I would like to be able to use the built-in number parsers (pfloat, numberLiteral) with a specific culture so that I can parse numbers with a comma as a decimal separator. Correct me if I'm wrong, but this does not seem possible at the moment.