Posted by yrashk
I’ve played with somewhat funny Io programming language.
Its key advantages are prototype object model, messages, pass by expression and simplicity.
As a (intermediate?) result of my toying with it I’ve developed Protonio, framework that currently consits of Protoext (language extensions) & Protospec (BDD spec tool).
Yes, I did it. I have developed near feature-complete spec tool like RSpec. It tooks few days and about 400 lines of code (without self tests). For comparison, RSpec code is more than 5 thousands of lines of code. But I may miss something.
Anyway it was funny. I’m going to continue my experiments.
Posted by yrashk
I remember I was playing with Io about a year ago. I’ve decided to play with it once again. As a result, I’ve published some bits of my code in a Protonio project.
First one is Dict, kind of “real” dictionary for Io that supports arbitrary typed keys and adds some syntax sugar, so you can
{ :a => 1; Lobby => 2 } // or
( :a => 1; Lobby => 2 )
to create your dictionaries. That is extremely useful for Ruby-like methods like:
render(:text => "Some text")
Another one is (unfortunately incomplete, but close to completion) BDD framework called Protospec. I need to finish mocks there, polish it and reach 100% self spec coverage.
Happy hacking!