# How to create a new scripted language with Ruby?

**URL:** <https://www.ruby-forum.com/t/how-to-create-a-new-scripted-language-with-ruby/103932>\
**Category:** Ruby\
**Created:** [May 11, 2007, 7:17pm UTC](https://www.ruby-forum.com/t/how-to-create-a-new-scripted-language-with-ruby/103932 "2007-05-11T19:17:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zouplaz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/a4c791/32.png) [@Zouplaz](https://www.ruby-forum.com/u/Zouplaz)\
**Post date:** [May 11, 2007, 7:17pm UTC](https://www.ruby-forum.com/t/how-to-create-a-new-scripted-language-with-ruby/103932/1 "2007-05-11T19:17:04Z")

</div>

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

Thanks

---

<div class="post-metadata">

**Author:** ![Zouplaz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/a4c791/32.png) [@Zouplaz](https://www.ruby-forum.com/u/Zouplaz)\
**Post date:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/how-to-create-a-new-scripted-language-with-ruby/103932/2 "2007-09-25T23:04:46Z")

</div>

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](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
