Script bindings

Post Reply
User avatar
nemerle
Posts: 398
Joined: Thu Jan 10, 2013 3:40 pm

Script bindings

Post by nemerle » Tue Mar 26, 2013 6:03 pm

The wrapping of c++ classes to allow MRuby access will likely look like this : http://pastebin.ca/2342747

The interface is based on the way Rice does it's thing, plus crazy c++11 magic :)
"Ich was in one sumere dale,
in one suthe diyhele hale,
iherde ich holde grete tale
an hule and one niyhtingale."

User avatar
nemerle
Posts: 398
Joined: Thu Jan 10, 2013 3:40 pm

Re: Script bindings

Post by nemerle » Wed Mar 27, 2013 3:23 pm

Disclaimer :
WARNING THE CODE CONTAINED ON THE LINKED PAGE CAN CAUSE NAUSEA, HEADACHES AND RIGHTEOUS FURY

I've put the ruby->c++ call mapper and the type binder on the github's gist.
Anyone brave enough to attempt a bit of code review ? :)
"Ich was in one sumere dale,
in one suthe diyhele hale,
iherde ich holde grete tale
an hule and one niyhtingale."

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests