Login  Register

Re: [ANN] The STON Specification

Posted by Sven Van Caekenberghe-2 on Nov 04, 2018; 10:38pm
URL: https://forum.world.st/ANN-The-STON-Specification-tp5088047p5088188.html



> On 4 Nov 2018, at 00:48, Shaping <[hidden email]> wrote:
>
> Can STON be extended to handle Doubles and ArbitraryPrecisionFloats?

Being born from a language with a rich numerical hierarchy with fluent, mostly transparent conversions, Smalltalk, STON is deliberately a bit vague on precision and range. Integers, fractions and scaled decimals are infinite precision. Float are doubles, but could be higher precision/range: the number reader just does the calculations with the different parts, assuming some floating point number will come out. Each implementation can react based on its own limitations.

> Shaping
>
> -----Original Message-----
> From: Pharo-dev [mailto:[hidden email]] On Behalf Of
> David T. Lewis
> Sent: Wednesday, October 31, 2018 14:58
> To: Pharo Development List <[hidden email]>
> Subject: Re: [Pharo-dev] [ANN] The STON Specification
>
> This is very clear and well written.
>
> Dave
>
>> Hi,
>>
>> Since there can never be enough documentation I finally took some time
>> to write a more formal description of STON as a data format.
>>
>>  https://github.com/svenvc/ston/blob/master/ston-spec.md
>>
>> The idea is to let this stabilise a bit and to then update the two
>> other documents describing STON, where necessary:
>>
>>  https://github.com/svenvc/ston/blob/master/ston-paper.md
>>
>> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuc
>> cessfulBuild/artifact/book-result/STON/STON.html
>>
>> Also, the latest changes in STON have to make their way to the Pharo
>> image as well.
>>
>>  https://github.com/svenvc/ston
>>
>> All feedback is welcome.
>>
>> Sven
>>
>>
>> --
>> Sven Van Caekenberghe
>> Proudly supporting Pharo
>> http://pharo.org
>> http://association.pharo.org
>> http://consortium.pharo.org
>>
>>
>>
>>
>>
>
>
>
>
>