From: Aredridel Date: 2003-07-30T23:34:46+09:00 Subject: Re: Ruby in Ruby --=-z8lvQTpvM+hNgcCLac0c Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > Over on the pragprog list, Ron Jeffries suggested that it might be > interesting to implement Ruby in Ruby. I thought -- but could not find > quickly -- that someone had started such a project. I realise right now > that this might be much slower, but it would seem to me to make it > easier to make something like Rite or some other bytecode system > possible, wouldn't it? > Maybe I'm beeing stupid but I can't see the advantage in doing this other > than intellectual challenge and interest. Is there any other? Yes: the ones I came up with last night were somewhat novel, too. 1) A security sandbox, for running untrusted scripts. 2) Introspection into other scripts -- if the interpreter has an implementation in ruby, you can get at any part of the representation of the script. 3) easy extension of the interpreter for testing, language development and special uses. 4) to show off that it can be done. Ari --=-z8lvQTpvM+hNgcCLac0c Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/J9dbtP09exA3hooRAgf8AJ9K2YaERbHYbwNGc5Vr9x7dIfK6KgCg5XLP QuDaIG2OEtXTGwC82rKOybY= =QozO -----END PGP SIGNATURE----- --=-z8lvQTpvM+hNgcCLac0c--