From: Eric Hodel Date: 2003-10-29T08:44:58-08:00 Subject: Re: [Q] Ruby and XUL? Daniel Carrera (dcarrera@math.umd.edu) wrote: > Hi all, >=20 > I just read a neat article at IBM DeveloperWorks: =2E.. > So, defining the GUI structure is easy and clear. All the programning=20 > logic is left for an actual programming language. Yes, XUL is great > Unfortunately, it seems that the only language supported is JavaScript. = =3D( > I don't particularly like JavaScript. >=20 > I was just wondering what it would take to be able to use Ruby for the=20 > programming logic. I guess that one way is to convince the Mozilla=20 > project to ship Ruby with Mozilla. But I wouldn't count on that. In order to script XUL, you need to plug into Mozilla's XPCOM layer, Mozilla ships with Javascript and C++ support built in, but all the popular scripting languages are also supported: http://rbxpcom.mozdev.org/ -- Ruby http://aspn.activestate.com/ASPN/Downloads/Komodo/PyXPCOM/ -- Python http://plxpcom.mozdev.org/ -- Perl http://www.mozilla.org/projects/blackwood/connect/ -- Java Of course, you'll need to compile the component and plug it into Mozilla. --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/n+6KMypVHHlsnwQRAo16AJ9X9PjnF0HeAvftJOrAeRdW+MvJFgCfQFAD RzdcUzcG9LLBWN5sj38LRkU= =Bz+s -----END PGP SIGNATURE-----