Dale Long wrote:
> Has anyone seen the lua language?
Here at our company the Web Services people are using it for something
or another.
> What brought my attention to it was that
> it had been released for PalmOS and is quite small and designed to be
> embeded in a parent application or embeded environment. The PalmOS version
> is about 100k.
I have that on my Palm (along with FORTH and LISP :-)
> The source is under a BSD type of license (I think) and can
> be compiled under Linux and Windows and enything else you care to port it
> too. It is pure ANSI C.
I have (or had) a stand-alone compiler around here somewhere. I haven't
a clue what to do with it, but it sounded promising.
I've toyed with the idea of rewriting vast amounts of the shell code in
something smaller - nothing says you need /bin/sh for anything at all.
You could rewrite the entire system in another shell, for example - such
as /bin/rc (from Plan 9) or /bin/esh (a LISP-like alternative). Problem
is, then people's /bin/sh scripts won't work unless you load /bin/sh
anyway.
A shell or scripting language used along with /bin/sh is much more a
likely target; I've considered using Ruby (a very NICE language!!!! -
shameless plug :-) but it seems to be large, similarly to Perl. Perhaps
Lua is the answer. I don't know Lua syntax (yet :-) but it should be
doable.
I've already ported eforth; perhaps someone should consider....? On my
Palm, Lua is 115k, Lisp (mylisp) is 99k (+40k data), but FORTH is 40k
(+50k data). FORTH beats all for size (always did).
> I noticed that tomsrtbt disk has been using it for a while. It seems to be
> a healthy cross between Perl, C and Pascal. It does not have some of the
> power or Perl, but it is still an fine language.
Interesting. Can you snarf it from tomsrtbt?
> Would there be scope for it in LEAF? Would it be a suitable replacement
> for some shell scripts. tomsrtbt disk seems to be using it in scripts to
> replace all manner of tools in order to fit more on a single floppy.
If he can do it, we can do it :-)
> I will make an lrp package out of it and place it somewhere on LEAF.
Can I have a copy to put on the Oxygen/LEAF Resource CDROM?
Is there (yet) a "Package Repository" which contains all the packages?
Perhaps we could build a HTML interface? Give me half a day and I'll
write one :-)
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel