From: gabriele renzi Date: 2004-07-19T22:17:08+09:00 Subject: Re: Ruby Specification il Mon, 19 Jul 2004 15:38:31 +0900, David Ross ha scritto:: >Request. Can someone create a ruby specification? I >want to try to create a true rubycc compiler that is >licensed BSD. I cannot find the Ruby Specification >book anywhere, and I refuse to read the ruby sources >for legal reasons. I understand your reasons, but I think you can look at parse.y and refer to the ri documentation for most things, safely. Matz' company is definitely not SCO, I believe. > Anyone want to read up on gc.c? I dont think tha gc is part of a ruby specification. Maybe you intended eval.c ? >Thats mainly the monster. It would be nice to have a >full specification on ruby though. matz itself agrees, and he told once that he would bless someone that wants to fill this gap. >Also, if there are >any compiler designers out there that would like to >help or have any comments, drop me an email. Thanks. I >would really like to create a compiler that generates >small executables. maybe you'd like to take a look at metaruby or jruby. >It is important to expanding ruby >IMO. Something in the essence of how Lua has a >compiler. It would be really nice. it would, but you'd need some interpreter runtime anyway. Maybe you could compile to C code and link the ruby runtime library >Also, thanks to >that there is no ruby compiler I could not use it in a >commercial project. if you mean you need to hide/obfuscate code, maybe you just need a vm+bytecode, as lothar scholz pointed. > It would have been really nice to >use it in projects that require a compiled binary that >is 1) not open code, 2) not byte compiled. Please >advise, David Ross why not byte compiled? there are plenty of java and smalltalk commercial apps.