YAML bindings?

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

YAML bindings?

Chris Dawson
Does anyone know of a YAML binding for Squeak?  I basically want to do IPC between a perl script and YAML seems smartest.  Am I missing an easier way to send a simple object across a language?  I'm aware of XML and would prefer to never deal with it again.  :)

Chris

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

Re: YAML bindings?

Randal L. Schwartz
>>>>> "Chris" == Chris Dawson <[hidden email]> writes:

Chris> Does anyone know of a YAML binding for Squeak?  I basically want to do
Chris> IPC between a perl script and YAML seems smartest.  Am I missing an
Chris> easier way to send a simple object across a language?  I'm aware of XML
Chris> and would prefer to never deal with it again.  :)

JSON is probably the closest "universal" data format.  Should transfer nicely,
with dictionaries mapping to hashes, and ordered collections mapping to
arrays.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[hidden email]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: YAML bindings?

Colin Putney
In reply to this post by Chris Dawson

On 21-May-08, at 12:42 PM, Chris Dawson wrote:

> Does anyone know of a YAML binding for Squeak?  I basically want to  
> do IPC between a perl script and YAML seems smartest.  Am I missing  
> an easier way to send a simple object across a language?  I'm aware  
> of XML and would prefer to never deal with it again.  :)

There's also Thrift. Patrick Collison did a Squeak implementation and  
I believe there are Perl bindings as well.

http://developers.facebook.com/thrift/
http://collison.ie/blog/2007/10/thrift-bindings-for-smalltalk
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside