[#83328] tcltklib and not init'ing tk — aakhter@... (Aamer Akhter)

Hello,

13 messages 2003/10/01

[#83391] mixing in class methods — "Mark J. Reed" <markjreed@...>

Okay, probably a dumb question, but: is there any way to define

22 messages 2003/10/01
[#83392] Re: mixing in class methods — Ryan Pavlik <rpav@...> 2003/10/01

On Thu, 2 Oct 2003 06:02:32 +0900

[#83397] Re: mixing in class methods — Gavin Sinclair <gsinclair@...> 2003/10/01

On Thursday, October 2, 2003, 7:08:00 AM, Ryan wrote:

[#83399] Re: mixing in class methods — "Mark J. Reed" <markjreed@...> 2003/10/02

On Thu, Oct 02, 2003 at 07:37:25AM +0900, Gavin Sinclair wrote:

[#83404] Re: mixing in class methods — "Gavin Sinclair" <gsinclair@...> 2003/10/02

> On Thu, Oct 02, 2003 at 07:37:25AM +0900, Gavin Sinclair wrote:

[#83416] C or C++? — "Joe Cheng" <code@...>

I'd like to start writing Ruby extensions. Does it make a difference

32 messages 2003/10/02
[#83435] Re: C or C++? — "Aleksei Guzev" <aleksei.guzev@...> 2003/10/02

[#83448] xml in Ruby — paul vudmaska <paul_vudmaska@...> 2003/10/02

The biggest problem i have with Ruby is the sleepness

[#83455] Re: xml in Ruby — Chad Fowler <chad@...> 2003/10/02

On Thu, 2 Oct 2003, paul vudmaska wrote:

[#83464] Re: xml in Ruby or no xml it's just a question — paul vudmaska <paul_vudmaska@...> 2003/10/02

>>--------

[#83470] Re: xml in Ruby — paul vudmaska <paul_vudmaska@...>

>>>

15 messages 2003/10/02

[#83551] xml + ruby — paul vudmaska <paul_vudmaska@...>

>>---------

20 messages 2003/10/03
[#83562] Re: xml + ruby — Austin Ziegler <austin@...> 2003/10/03

On Fri, 3 Oct 2003 16:11:46 +0900, paul vudmaska wrote:

[#83554] hash of hashes — Paul Argentoff <argentoff@...>

Hi all.

18 messages 2003/10/03

[#83675] fox-tool - interactive gui builder for fxruby — henon <user@...>

hi fellows,

15 messages 2003/10/05

[#83730] Re: Enumerable#inject is surprising me... — "Weirich, James" <James.Weirich@...>

> Does it surprise you?

17 messages 2003/10/06
[#83732] Re: Enumerable#inject is surprising me... — nobu.nokada@... 2003/10/07

Hi,

[#83801] Extension Language for a Text Editor — Nikolai Weibull <ruby-talk@...>

OK. So I'm going to write a text editor for my masters' thesis. The

35 messages 2003/10/08
[#83803] Re: Extension Language for a Text Editor — Ryan Pavlik <rpav@...> 2003/10/08

On Thu, 9 Oct 2003 05:06:32 +0900

[#83806] Re: Extension Language for a Text Editor — Nikolai Weibull <ruby-talk@...> 2003/10/08

* Ryan Pavlik <rpav@mephle.com> [Oct, 08 2003 22:30]:

[#83812] Re: Extension Language for a Text Editor — Ryan Pavlik <rpav@...> 2003/10/08

On Thu, 9 Oct 2003 06:09:29 +0900

[#83955] Re: Extension Language for a Text Editor — Nikolai Weibull <ruby-talk@...> 2003/10/09

* Ryan Pavlik <rpav@mephle.com> [Oct, 09 2003 09:10]:

[#84169] General Ruby Programming questions — Simon Kitching <simon@...>

21 messages 2003/10/15
[#84170] Re: General Ruby Programming questions — Florian Gross <flgr@...> 2003/10/15

Simon Kitching wrote:

[#84172] Re: General Ruby Programming questions — Simon Kitching <simon@...> 2003/10/15

Hi Florian..

[#84331] Re: Email Harvesting — Greg Vaughn <gvaughn@...>

Ryan Dlugosz said:

17 messages 2003/10/21
[#84335] Re: Email Harvesting — Hugh Sasse Staff Elec Eng <hgs@...> 2003/10/21

On Wed, 22 Oct 2003, Greg Vaughn wrote:

[#84343] Re: Email Harvesting — Ruben Vandeginste <Ruben.Vandeginste@...> 2003/10/22

On Wed, 22 Oct 2003 08:35:32 +0900, Hugh Sasse Staff Elec Eng

[#84341] Ruby-oriented Linux distro? — Hal Fulton <hal9000@...>

There's been some talk of something like this in the past.

15 messages 2003/10/22
[#84348] Re: Ruby-oriented Linux distro? — Gavin Sinclair <gsinclair@...> 2003/10/22

On Wednesday, October 22, 2003, 6:01:16 PM, Hal wrote:

[#84351] Re: Ruby-oriented Linux distro? — Andrew Walrond <andrew@...> 2003/10/22

On Wednesday 22 Oct 2003 11:02 am, Gavin Sinclair wrote:

[#84420] Struggling with variable arguments to block — "Gavin Sinclair" <gsinclair@...>

Hi -talk,

18 messages 2003/10/24
[#84428] Re: Struggling with variable arguments to block — matz@... (Yukihiro Matsumoto) 2003/10/24

Hi,

[#84604] ruby-dev summary 21637-21729 — Takaaki Tateishi <ttate@...>

Hello,

21 messages 2003/10/30
[#84787] Re: ruby-dev summary 21637-21729 — Paul Brannan <pbrannan@...> 2003/11/06

On Fri, Oct 31, 2003 at 07:01:28AM +0900, Takaaki Tateishi wrote:

[#84789] Re: ruby-dev summary 21637-21729 — matz@... (Yukihiro Matsumoto) 2003/11/06

Hi,

[#84792] Re: ruby-dev summary 21637-21729 — Paul Brannan <pbrannan@...> 2003/11/06

On Thu, Nov 06, 2003 at 11:17:59PM +0900, Yukihiro Matsumoto wrote:

[#84794] Re: ruby-dev summary 21637-21729 — matz@... (Yukihiro Matsumoto) 2003/11/06

Hi,

[ANN] Syck 0.41 -- 95% Support, Bytecode, Bugfixes

From: why the lucky stiff <yaml-core@...>
Date: 2003-10-14 20:35:34 UTC
List: ruby-talk #84110
friends, countrymen:

Happy to announce Syck 0.41.  Syck is the YAML toolkit, the undying
force that backs Ruby 1.8's YAML support.  This distribution provides
support for YAML parsing in Python, PHP, and Ruby 1.6.x/1.7.x as well.

This latest release is a world of improvement over the 0.35 release.
Numerous bugfixes from users, improvements that bring the parser to
approximately 95% of the YAML spec, and preliminary support for YAML
bytecode parsing.  In addition, Clark Evan's bytecode emitter is
included.

Please note that the Python extension is in some disarray as stream
parsing and type handling are in the works still.   Some of this code is  still
beta software and here's my disclaimer as far as that goes:  I'm not
going to say "Use at your own risk" because I don't want this library to
be risky.  If you trip on something, I'll share the liability by
repairing things as quickly as I can.  Your responsibility is to report
the inadequacies.  All the quicker we can those pieces out of beta.

Release notes below.

_why

---
released: { name: Syck, version: 0.41 }
for: [ Ruby, PHP, Python ]
by: why the lucky stiff
about: >

  Syck is a YAML parser, an extension for scripting
  languages, written in C.  

  So what is YAML?  YAML is a new language for data.
  Describe objects in plain text.  Load the data into
  your scripting language as arrays, dictionaries,
  classes, or primitives.

links:
  YAML: http://www.yaml.org/
  YAML Cookbook: http://yaml4r.sf.net/cookbook/
  YAML Type Repository: http://yaml.org/type/
  YAML Specification: http://yaml.org/spec/
  Syck: http://www.whytheluckystiff.net/syck/
  Syck Benchmarks: http://www.whytheluckystiff.net/arch/2003/03/19
  Tarball @ SourceForge: http://aleron.dl.sourceforge.net/sourceforge/yaml4r/syck-0.41.tar.gz

status: >

  Syck is about 95% compliant with the YAML spec.  Largely, small
  issues remain.

  The extensions are quite usable.  Ruby, PHP and Python
  can load from a string containing YAML.

  Ruby has support for stream loading, type handling, YPath, Okay.
  This release includes an amount of Ruby code comprising the 0.60 
  release of YAML.rb.

benchmarks: >

  Syck is quite speedy, although not as swift as most language's
  native serialization.

  Syck runs at about:

  30-35% of the speed of Ruby's Marshal.
  35-90% of the speed of PHP's deserialize().
  600% of the speed of Python's Pickle.
  33-40% of the speed of Python's cPickle.

  (Based on various types of structured data.)

installation: >

  Syck contains working extensions for the Ruby, PHP, and Python
  languages.  Each requires compilation of the libsyck library,
  followed by compilation of the extension.

  To compile libsyck, first download libsyck.

    tar xzvf syck-0.41.tar.gz
    cd syck-0.41
    ./configure
    make
    sudo make install

  To install the Ruby extension:

    cd ext/ruby
    ruby install.rb config
    ruby install.rb setup
    sudo ruby install.rb install

  To install the Python extension:

    cd ext/python
    python setup.py build
    sudo python setup.py install

  To install the PHP extension:

    sh make_module.sh
    sudo make install (if you weren't root during make_module.sh)
    php -q syck.php

examples:

  To load this document in Ruby: |

     ($:~)$ irb
     >> require 'yaml'
     => true
     >> YAML::load( File.open( 'syck-0.41.yml' ) )
     => {"status"=>"Syck is about 60% compliant ..."}

  To load this document in PHP: |

     ($:~)$ php -a
     Interactive mode enabled

     <? dl( 'syck.so' ); print_r( syck_load( implode( '', file( 'syck-0.41.yml' ) ) ) ); ?>
  
     .. php then outputs ..

     X-Powered-By: PHP/4.2.3
     Content-type: text/html
     
     Array
     (   
         [released] => Array
             (   
                 [name] => Syck
                 [version] => 0.41
             )

     .. and so on ..

  To load this document in Python: |

     ($:~)$ python
     Python 2.1.3 (#1, Jul 11 2002, 17:52:24) 
     [GCC 2.95.3 20010315 (release) [FreeBSD]] on freebsd4
     Type "copyright", "credits" or "license" for more information.
     >>> import syck
     >>> f = open( 'syck-0.41.yml' )
     >>> syck.load( f.read() )
     {'by': 'why the lucky stiff', ... }


In This Thread

Prev Next