lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great Coroutines once stated:
> On Sun, May 4, 2014 at 8:16 AM, Karel Tuma <kat@lua.cz> wrote:
> > Excerpts from Coroutines's message of 2014-05-04 04:52:53 +0200:
> >> It would go hand-in-hand with that project to run a Lua VM hosted by
> >
> > Emscripted Lua (or even hand-written JS reimplementation) is so humongous
> > it actually pays off to strip parser and keep only the VM. Obviously,
> > the input is precompiled bytecode then..
> >
> 
> Hmm that's true.. I'm still just writing server-side Lua.  I like to
> show the source but it would be so nice to push it client-side.  Wish
> the W3C would invite other languages in to (HTML6?) instead of only
> Javascript. :-)

  You can specify the language in the <script> tag [1]:

	<script type="text/lua"> 

so in theory, all you need to do is convince webbrowsers to support Lua.

  -spc (So best start working on a Lua DOM interface ... )

[1]	http://www.w3.org/TR/html5/scripting-1.html#scriptingLanguages