slang-users mailing list

[2008 Date Index] [2008 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] slruby 0.0.3


Hi,

Version 0.0.3 of the Ruby module is out.

- use an extconf.rb to generate the Makefile
- fixed a problem when yielding multiple arguments to S-Lang in Ruby 1.9.
- added support for the '[]=' method for RubyValues. This means you
can use Ruby hashes in S-Lang:

slsh> variable x = rb_eval("{}");
slsh> x["foo"]=1;
slsh> x[PI]="foo";
slsh> x.inspect();
{"foo"=>1, 3.14159265358979=>"foo"}

- S-Lang functions called from Ruby now return an array instead of
just the top value on the stack.

Get it from http://www.cheesit.com/downloads/slang/slruby



[2008 date index] [2008 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]