Protonio: Power of Io

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!