On Tue, Apr 24, 2012 at 12:31 PM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:


On Tue, Apr 24, 2012 at 12:15 PM, Sven Van Caekenberghe <sven@beta9.be> wrote:

On 24 Apr 2012, at 11:40, stephane ducasse wrote:

> Hi guys
>
> We should develop a simple Literal Array parser that is dialect independant
> so that we can avoid using JSON for meta data. So I will start to develop. I will start to write some tests and do it test first.
>
> Gofer new
> � �repository: 'http://ss3.gemstone.com/ss/SimpleLiteralArrayParser';
> � �package: 'SimpleLiteralArrayParser';
> � �load
>
> Now I still wonder what do we do about floats. May be the situation changed but Squeak and VW floats were not the same.
>
> Stef

Good idea!

I was already thinking about doing that ;-)

But shouldn't there be a specification first ?

For primitives, have a look at JSON, don't make it more complicated than that.


Taking your last two sentences I would conclude that then we are yet reinventing the wheele again?
I think noone has still say which is the big problem of using JSON. The answer "we need a parser" is not enough. You will need a parser for the literal array also.
Dale said the parser for JSON was decoupled from Seaside and quite small. So...can someone tell me the real problem with numbers and facts please?



BTW...wasn't Sven working in a kind of JSON for Smalltalk ?


--
Mariano
http://marianopeck.wordpress.com