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
http://www.zenspider.com/ZSS/Products/CocoR/)

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
http://www.zenspider.com/ZSS/Products/CocoR/)

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

Kind regards

robert

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs