hoodwink.d enhanced


Syck CVS is Buildable #

by why in inspect

Allo, friends. Great news. The new Syck is buildable. Yes, it has some problems. The emitter in particular is really, really unstable. Still, it represents several months worth of work rethinking and redesigning parts of the extension.

Here’s what you can look forward to:

  • Huge speed improvements when outputting YAML.
  • Automatic use of YAML shortcuts, better looking output.
  • Simplified custom types. You basically just add tag_as "tag:example.com,2005:myWikiPage" to your class definition. YAML will then load and dump the class using the type.
  • Hooks for loading YAML into custom types. Add yaml_new and yaml_initialize methods to your class if you want to override the default behavior.
  • Unit tests in C for the core. This is a huge help, since I’m able to track down memory leaks and segfaults much easier.

Again, this extension is really unstable. If you’re going to use it, install it into a temporary directory using ruby install.rb config --prefix=$HOME. Then, in irb, use $LOAD_PATH.unshift File.expand_path( "~/lib" ) before require 'yaml'.

If you want to help debug, come join Yaml-Core. It’s the homebase.

said on 25 Jan 2005 at 00:10

thats awesome thanks why btw if you could develop an os that runs 100% off of ruby what would you call it?\

said on 25 Jan 2005 at 07:55

why, your hands are red .

said on 25 Jan 2005 at 08:56

nice work, you’re like the Ruby/YAML gangta Red-Y, a rap for you, Y:

he's CEO of the R U B, don't ask Y
he's like parsing YAML, he's complex
he checks chedda like a unit testa

Comments are closed for this entry.