Equivalent of Ruby's YAML::load in smalltalk

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Equivalent of Ruby's YAML::load in smalltalk

Frank Church-3
Is there a smalltalk command that can load YAML into a Smalltalk
array?

--
Frank Church

=======================
devblog.brahmancreations.com
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Equivalent of Ruby's YAML::load in smalltalk

stephane ducasse

On Jun 17, 2009, at 5:16 PM, Frank Church wrote:

> Is there a smalltalk command that can load YAML into a Smalltalk
> array?


Frank, what is YAML::load?
Knowing it may help people answering the question.

>
> --
> Frank Church
>
> =======================
> devblog.brahmancreations.com
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Equivalent of Ruby's YAML::load in smalltalk

Frank Church-3
It is a Ruby command that loads a whole YAML file directly into an array>

This is the rubydoc page

http://www.ruby-doc.org/core/classes/YAML.html

The load and dump command are the first explained.

Thx

Frank



2009/7/16 stephane ducasse <[hidden email]>:

>
> On Jun 17, 2009, at 5:16 PM, Frank Church wrote:
>
>> Is there a smalltalk command that can load YAML into a Smalltalk
>> array?
>
>
> Frank, what is YAML::load?
> Knowing it may help people answering the question.
>
>>
>> --
>> Frank Church
>>
>> =======================
>> devblog.brahmancreations.com
>> _______________________________________________
>> Beginners mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>
>
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>



--
Frank Church

=======================
<a href="http://devblog.brahmancreations.com">devblog.brahmancreations.com</a>
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Equivalent of Ruby's YAML::load in smalltalk

Frank Church-3
To add some more info , Goran Krampe has written an article
http://goran.krampe.se/blog/Squeak/Tirade.rdoc about a file format
that could be a smalltalk equivalent of YAML, that might put it in
perspective.

I am a Smalltalk newbie and it is a bit way above my head.


2009/8/20 Frank Church <[hidden email]>:

> It is a Ruby command that loads a whole YAML file directly into an array>
>
> This is the rubydoc page
>
> http://www.ruby-doc.org/core/classes/YAML.html
>
> The load and dump command are the first explained.
>
> Thx
>
> Frank
>
>
>
> 2009/7/16 stephane ducasse <[hidden email]>:
>>
>> On Jun 17, 2009, at 5:16 PM, Frank Church wrote:
>>
>>> Is there a smalltalk command that can load YAML into a Smalltalk
>>> array?
>>
>>
>> Frank, what is YAML::load?
>> Knowing it may help people answering the question.
>>
>>>
>>> --
>>> Frank Church
>>>
>>> =======================
>>> devblog.brahmancreations.com
>>> _______________________________________________
>>> Beginners mailing list
>>> [hidden email]
>>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>>
>>
>> _______________________________________________
>> Beginners mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>
>
>
>
> --
> Frank Church
>
> =======================
> <a href="http://devblog.brahmancreations.com">devblog.brahmancreations.com</a>
>



--
Frank Church

=======================
<a href="http://devblog.brahmancreations.com">devblog.brahmancreations.com</a>
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Equivalent of Ruby's YAML::load in smalltalk

Göran Krampe
Frank Church wrote:
> To add some more info , Goran Krampe has written an article
> http://goran.krampe.se/blog/Squeak/Tirade.rdoc about a file format
> that could be a smalltalk equivalent of YAML, that might put it in
> perspective.
>
> I am a Smalltalk newbie and it is a bit way above my head.

I am not aware of any YAML implementation in Squeak. And yes, Tirade is
IMHO :) very nice if you don't really *have* to use YAML.

Note the followup articles:

http://goran.krampe.se/blog/Squeak/Tirade2.rdoc
http://goran.krampe.se/blog/Squeak/Tirade3.rdoc

regards, Göran

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners