How to create a new scripted language with Ruby ?

Z

Zouplaz

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
 
R

Robert Klemme

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
 

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

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,246
Members
46,841
Latest member
WilmerBelg

Latest Threads

Top