Hi,
I'd like to know if there exists a ruby standard specification or, at least, a ruby tech book. I'm interested in the language itself. I'm not going to program in Ruby, if not to test its "mechanics".
Kiuhnm
Hi,
I'd like to know if there exists a ruby standard specification or, at least, a ruby tech book. I'm interested in the language itself. I'm not going to program in Ruby, if not to test its "mechanics".
Kiuhnm
I'd like to know if there exists a ruby standard specification or, at
least, a ruby tech book. I'm interested in the language itself. I'm not
going to program in Ruby, if not to test its "mechanics".
An interest group has been recently formed, and one of their goals is
to build such an specification.
http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians
There's no official specification from Matz (the creator of Ruby)
other than his source code, writings and presentations.
(can be reduced to: the spec is the code)
best,
UG
---
Uma Geller
-Kiuhnm <"kiuhnm03["@>:
Hi,
I'd like to know if there exists a ruby standard specification or, at
least, a ruby tech book. I'm interested in the language itself. I'm not
going to program in Ruby, if not to test its "mechanics".
Hi, if you prefer an italian book I'm one of the authors of:
ngw
--
Now Playing: Still Ill - Hatful of Hollow - The Smith
More info...
You might want to read this article by Pat Eyler
This post by the Ruby Grammarians group
http://rubyforge.org/pipermail/rubygrammar-grammarians/2005-November/000002.html
Implementors summit that took place at the latest Rubyconf,
blogged again by Pat Eyler
hope that helps,
UG
---
Uma Geller
Uma Geller wrote:
An interest group has been recently formed, and one of their goals is
to build such an specification.
http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians
Let's give them some more time!
There's no official specification from Matz (the creator of Ruby)
other than his source code, writings and presentations.
(can be reduced to: the spec is the code)
Ok, thank you.
Kiuhnm
Dave Thomas's "Programming Ruby" book contains a fairly concise, technical description of the language. I haven't seen anything comparable anywhere else. There's an online copy of an early version of the book; here's a link to the language-reference chapter
http://www.rubycentral.com/book/language.html
Cheers,
Tom
On Dec 20, 2006, at 9:28 AM, Uma Geller wrote:
I'd like to know if there exists a ruby standard specification or, at
least, a ruby tech book. I'm interested in the language itself. I'm not
going to program in Ruby, if not to test its "mechanics".
Uma Geller wrote:
[...]
hope that helps,
Yes, thank you.
Anyway, the specification would have been nothing more than a shortcut.
I've been studying a lot of languages lately (haskell, clean, lisp, scheme, Oz(!), etc...). I have to devise a Domain Specific Language and I do not want that my strong C++ roots limit my creativity.
Kiuhnm
Tom Pollard wrote:
This should be the famous pickaxe.
The subtitle "The pragmatic Programmer's Guide" misguided me.
Besides, I've just realized that the language is described in the first 400 pages so it can't be so wordy. Never judge a book by its cover (or its thickness).
Thank you, Kiuhnm
Anyway, the specification would have been nothing more than a shortcut.
I've been studying a lot of languages lately (haskell, clean, lisp,
scheme, Oz(!), etc...). I have to devise a Domain Specific Language and
I do not want that my strong C++ roots limit my creativity.
hmmmmmm, how about having a look at some Ruby-based DSLs then ?
Looking at the Ruby spec for devising a DSL seems to me like studying
the blueprints for a car design, instead of test-driving it or having
a look underneath the car hood.
Rake is a good project to start having a look at, it will be easy for
you to learn and understand, since your C++ background provides what's
necessary to work in the domain covered by Rake. (plenty of Makefiles
in C/C++)
http://rake.rubyforge.org/
Perhaps others can suggest other Ruby DSLs ?
_why's Camping comes to mind.
http://code.whytheluckystiff.net/camping/
best,
UG
---
Uma Geller
Uma Geller wrote:
hmmmmmm, how about having a look at some Ruby-based DSLs then ?
No, I always go to the source.
Looking at the Ruby spec for devising a DSL seems to me like studying
the blueprints for a car design, instead of test-driving it or having
a look underneath the car hood.
A DSL is not necessarily a limited language that you obtain by crippling another language and adding a few keywords. I don't like X-based language. Many general purpose languages were born as DSLs.
I am interested in the ideas behind the languages, not in the languages themselves. While many programming books are imprecise, wordy and boring, a specification is concise and to the point.
I think a programming book is just a book intended to make an argument more accessible. The problem is that when you become accustomed to reading very terse books, you cannot read anything else.
Anyway I'll begin with the PickAxe.
Kiuhnm