How to create a new scripted language with Ruby?

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
zenspider projects | software projects | by ryan davis)

Thanks

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
zenspider projects | software projects | by ryan davis)

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

Kind regards

robert