Karthik Senthil     About     Resume

[GSoC 2016] Introducing RCurry - An abstraction layer

Hello all!

As discussed in the previous post, we made a drastic change in the architecture of ruby_curry by utilising ICurry to cover the compilation steps while providing a robust runtime environment in ruby.

My mentor and I had discussions about how cumbersome the task of directly converting ICurry to Ruby was. The feature set was limited and needed extra programming just to obtain some information for the Ruby object code. As a suggestion to solve this, we decided to introduce a layer of abstraction over ICurry - called RCurry. RCurry will be a code level abstraction of the information in ICurry i.e. in order to convert ICurry into executable code we add an abstract layer which can then be converted to object code in any language.

This would make the generation of object highly language independent. All one has to do is create a runtime environment for execution and develop a pretty printer(or converter) for translating RCurry into language of their choice. This logical partition also makes maintenance and development easy.

On these lines, I have been working on defining RCurry and a module to convert ICurry to RCurry called ICurryToAbstractRuby. These modules are currently a stub under development and being tested on the try server. I plan on making it available on the Github repo by the end of next week, along with a couple of tasks implemented from the TODO list … So stay tuned :)