[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua in Firefox
- From: "Joe Smith" <unknown_kev_cat@...>
- Date: Thu, 31 Aug 2006 19:39:52 -0400
"Philippe Lhoste" wrote in message news:email@example.com...
Vyacheslav Egorov a écrit :
D Burgess wrote:
Well, it is a bit of work. There was a few years back (Lua4 era)
a thing called "LuaScript" that provided what you seek.
I once tried to implement such a thing (I called it Artemis) for Lua 5.0.
But then I found that it requires a deep understanding of COM, and
IActiveScipt magic, so when Artemis started to work more or less stable I
suspended development and decided that nobody should see this ugly
implementation draft. That is why http://artemis.luaforge.net/ still
I would love to see something like LuaScript (which was very buggy) come
Not to script Web pages (it would be usable only in intranets), but to
script Windows (replacement of VBScript/JScript).
Well, for Windows what you are wanting would be a new language for the
Windows Scripting Host.
I suspect this is moderately difficult, but it certainly is entirely
possible. Python has done it!
I'm thinking that Windows basically hands the scripting engines one or more
ActiveX objects to expose.
So most of the work is intospecting the COM object, and expose them to the
AIUI doig it properly automatically makes IE support the language too.
(Which means that IE's COM [web standard] support is implemented with COM