I just released version 0.1 of Blocktalk at Github.
I’ve added quite some features in the past few days and got all of my main problems fixed and the most important features working.
One thing that was on that list until today was chained method calls.
Up to this point, the only way to chain method calls was to surround each method call with parentheses, like this:
str = ("Hello, world!" upcase) gsub: "," with: ":" |
Now you can do something like this:
str = "Hello, world!" upcase gsub: "," with: ":" |
Which is equivalent to this ruby code:
str = "Hello, world!".upcase.gsub(",", ":") |
Much nicer, if you ask me. Of course you can chain as many methods as you want, even with each method taking a codeblock, if you want to (as it is possible in ruby as well).
So now that I’ve got the most important things done, I’ll try to focus a little more on refactoring, working on the standard library (adding more classes & methods) and thinking about some more unique, new features for the language


3 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.
Not bad! And you´ve got all features from Ruby, Libraries etc.?
And: Is it running on every OS?
Yes, any Ruby class & library _should_ work. I haven’t tested them all of course, but I think that there shouldn’t be a problem.
It should run on any OS with support for Ruby and also on any Ruby implementation compatible with the standard Ruby 1.86 (havent tested Ruby 1.9 yet).
It works with JRuby, for example
Continuing the Discussion