[ANN] RType-0.2

Y

Yuichi Yoshida

Hi. I've released RType 0.2 today.
RType is another Ruby interpreter written in Haskell.

Now, RType can imitate

* all kind of variables
* [Integer, String, Fixnum, Regexp].each
* class and method definition
* if unless while until case
* yield, block
* exception (begin ~ rescue ~ end and raise)

You can download RType from the following web site.

* http://mono.kmc.gr.jp/~oxy/hiki.cgi?rtype_en

RType requires ghc >= 6.4, and it's little hard to install.
So, the binary package is also provided (for Linux i386).

* http://mono.kmc.gr.jp/~oxy/archive/rtype-bin-0.2.0.gz
 
G

gabriele renzi

Yuichi Yoshida ha scritto:
Hi. I've released RType 0.2 today.
RType is another Ruby interpreter written in Haskell.

this is really cool, thanks for sharing it.
But I wonder why did you choose to write a ruby interpreter in Haskell?
 
B

Brian Mitchell

Hi. I've released RType 0.2 today.
RType is another Ruby interpreter written in Haskell.
=20
Now, RType can imitate
=20
* all kind of variables
* [Integer, String, Fixnum, Regexp].each
* class and method definition
* if unless while until case
* yield, block
* exception (begin ~ rescue ~ end and raise)
=20
You can download RType from the following web site.
=20
* http://mono.kmc.gr.jp/~oxy/hiki.cgi?rtype_en
=20
RType requires ghc >=3D 6.4, and it's little hard to install.
So, the binary package is also provided (for Linux i386).
=20
* http://mono.kmc.gr.jp/~oxy/archive/rtype-bin-0.2.0.gz
----
YOSHIDA, Yuichi
(e-mail address removed)
http://mono.kmc.gr.jp/~oxy/
=20
=20

Excellent! It seems to work for me. This is very interesting. What are
the plans for this project? Do you plan on supporting a Ruby style
license at some point?

You also mention that RType is _another_ Ruby interpreter written
using Haskell. Which would be the other one?

Thanks,
Brian.
 
A

Akimichi Tatsukawa

Hi,

oxy> > What are the plans for this project?
oxy>
oxy> I just wanted to use Haskell, and write a compiler or interpreter.
oxy> So, I started implementing RType just for fun.
oxy> I am going to follow the standard Ruby Syntax for now, but if anyone
oxy> hit on a interesting extention, I will try to implement it.
oxy> For example, type theory or lazy evaluation or group thoery?

I'd like to see pattern-matching built in.

def length(x|xs)
if x.nil?
0
else
1 + length(xs)
end
end


Regards,
Aki
 
B

Brian Mitchell

=20
Thank you!
=20
=20
I just wanted to use Haskell, and write a compiler or interpreter.

It is an ironic statement as I am also about to start such a project
but for the Io language. Haskell is a very interesting and powerful
language.

My project was originally using the C interpreter but the number of
errors in the 10,000+ line code base where hurting my efforts in
building a Ruby interpreter using Io.

I have found Haskell to be one of the most worthwhile languages to
learn (along with Ruby of course :)).
So, I started implementing RType just for fun.
I am going to follow the standard Ruby Syntax for now, but if anyone
hit on a interesting extention, I will try to implement it.
For example, type theory or lazy evaluation or group thoery?
=20

I will keep my open for ideas that might fit RType. This is not
specific to RType of the powers of Haskell but I would like to see
selector namespaces implemented somewhere. I was going to do this in
IoRuby but that is still too far away for me to plan.
=20
Excuse me, but what is the merit of it?
If it is appreciated to support the licence, I will do that.
=20

I use Haskell for a few projects and the thought of an easy to embed
interpreter is nice. The only problem I have with the GPL is that it
forces me to GPL the code rather than use something more liberal like
BSD or Ruby licenses.

At this moment I don't have an immediate use but it was just a thought
for the future. I am fine with GPL if that is what _you_ want your
code published as.
=20
In this case, "another" dosen't modify "written using Haskell",
but "Ruby interpreter"
Actually, there are some Ruby interpreters, original Ruby, yarv,
JRuby, Ruby.NET.
So, I used "another". This is my misusage?
=20

Ok. Thanks. Just a misinterpretation on my part. Don't worry about
exact grammar. I use broken English myself. I am sure if I tried
composing this message in Japanese I would fail to make even one
sentence correct.

:)

Brian.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,183
Messages
2,570,968
Members
47,516
Latest member
ChrisHibbs

Latest Threads

Top