[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

How to create a new scripted language with Ruby ?

user@domain.invalid

5/11/2007 10:35:00 AM

Hello, I'm searching documentation about extending Ruby to create my own
language.

Ruby beeing a metalanguage, it's a little confusing for me when I try to
imagine where I should I start from...

I'm not talking about designing a compiler or a parser but only altering
Ruby's behaviours (so, I don't want to use
http://www.zenspider.com/ZSS/Produ...)

Thanks


1 Answer

Robert Klemme

5/11/2007 11:21:00 AM

0

On 11.05.2007 12:34, Zouplaz wrote:
> Hello, I'm searching documentation about extending Ruby to create my own
> language.
>
> Ruby beeing a metalanguage, it's a little confusing for me when I try to
> imagine where I should I start from...

Ruby is not a meta language - Ruby is a normal programming language as
others, too. But it has extended meta programming capabilities. I
guess that is what you are referring to.

> I'm not talking about designing a compiler or a parser but only altering
> Ruby's behaviours (so, I don't want to use
> http://www.zenspider.com/ZSS/Produ...)

Search for "DSL" (domain specific languages). There are quite a few
discussions of that topic in the archives of ruby-talk.

Kind regards

robert