[Cuis] CSV Parser in Cuis available // issue about parsing hexadecimal number with lower case letters

Juan Vuletich juan at jvuletich.org
Thu May 14 09:09:21 CDT 2015


Hi Sven,

On 5/14/2015 8:58 AM, Sven Van Caekenberghe wrote:
>>
>> ...
>> According to that syntax definition, 'e-', 'e+', 'E-', 'E+' are ok, but 'e' and 'E' could mean both exponent and digit.
>>
>> For instance '1e3' could mean 1000 or it could mean 483 if in base 16. Same goes for '1E3'. Cuis (like Smalltalk-80) supports uppercase for digits and lowercase for exp.
> That is an interesting point indeed !
>
> The ambition of NeoNumberParser is not to answer all these questions, its purpose is to change the underlying stream requirements for day to day parsing of numbers.
>
> I make the following commit:
>
> ===
> Name: Neo-CSV-Tests-SvenVanCaekenberghe.19
> Author: SvenVanCaekenberghe
> Time: 14 May 2015, 1:30:58.136362 pm
> UUID: 6d1479ef-a779-421d-9b00-fbd2873b5450
> Ancestors: Neo-CSV-Tests-SvenVanCaekenberghe.18
>
> Change NeoNumberParserTests>>#testHexadecimalIntegers to not require lowercase hex digits to work on platforms where Character>>#digitValue only handles uppercase (like Cuis)
> ===
>

Thank you very much Sven!

Cheers,
Juan Vuletich




More information about the Cuis mailing list