Welcome, Guest. Please Login or Register
RiveScript HQ
 
  HomeHelpSearchLoginRegister  
 
Pages: 1
Send Topic Print
Ruby (Read 4009 times)
Sam
Newbie
*
Offline

I Love Flattering
Default Personal
Text!

Posts: 3

Gender: male
Ruby
06/03/08 at 14:55:21
 
I was wondering if anyone had any knowledge on existing Ruby RS-interpreters, or if any projects are in the works.
Back to top
 
 
View Profile   IP Logged
Kirsle
Administrator
*****
Offline

I Love YaBB 2!

Posts: 60
Los Angeles
Gender: male
Re: Ruby
Reply #1 - 06/03/08 at 16:45:50
 
As far as I know there are only interpreters written in Perl so far. I personally don't know Ruby so I can't help you out with that. You could try making one yourself though and tell me how easy the working draft is to follow (it was designed to be implementation independent so interpreters could be made for other languages).
Back to top
 
 
View Profile WWW 147180999 Kirsle   IP Logged
Sam
Newbie
*
Offline

I Love Flattering
Default Personal
Text!

Posts: 3

Gender: male
Re: Ruby
Reply #2 - 06/06/08 at 19:00:48
 
Hmm, I'm hesitant to implement straight from the working draft since although I could probably eventually make it work, I doubt it would be as clean or efficient as the current Perl implementation (my coding skills are okay, but not great).

I may instead work on making an interface/API for the Perl interpreter that I can query from Ruby, and slowly re-write the Perl code in Ruby by looking through the source files.

It's finals week coming up, but if I'm still feeling motivated to look at this, maybe I'll try it soon.


Also, at least as much as I glanced through, the working draft is really well laid out.  The implementation details are sparse, which I'm assuming is by design since this allows the language and context to guide the actual implementation.  Unfortunately for those of us with less knowledge of coding, it makes starting from scratch a little tough.
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print