[Geany] Scripting language for plug-ins

Yura Siamashka yurand2 at xxxxx
Wed Jan 9 14:42:51 UTC 2008


Hi

Lua have very small footprint  (compared to other scripting
languages). If geany include it like scintilla  it will not gain too
much fat.

This will allow to distribute lua plugin within geany and don't add
more libraries to depend list.

Best regards,
Yura Siamashka

2008/1/9, Nick Treleaven <nick.treleaven at btinternet.com>:
> On Mon, 7 Jan 2008 20:24:24 -0500
> "John Gabriele" <jmg3000 at gmail.com> wrote:
>
> > From what I can tell, Python's not too difficult to embed. Lua,
> > though, seems to take to embedding like a fish to water. And it's
> > small. And *fast* (check out this neat little benchmark
> > http://www.timestretch.com/FractalBenchmark.html ). One note about
>
> I think Lua scripting is a great match for Geany. Lua also seems to
> be the fastest scripting language here (basic is compiled):
>
> http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all&calc=Calculate&xfullcpu=1&xmem=1
>
> Note: I enabled memory usage as part of the criteria, but even without
> it Lua comes out very well vs. other scripting languages.
>
> [...]
> > Anyhow, a while ago I posted that I was waiting for Python support for
> > Geany. I should probably take that back. Really, most of these
> > commonly-used scripting languages are very similar except for syntax
> > differences. There's variables, loops, functions, and so on. Python
> > makes OO programming very easy, but I'm not sure how much OO features
> > are really required for writing an average plug-in for a text editor.
>
> I know someone who says you can simulate OOP fairly acceptably in Lua
> (but haven't tried it myself). Link:
> http://www.lua.org/pil/16.1.html
>
> > Enrico, have you tried writing any plug-ins in Lua yet? I may try to
> > take a crack at it this week.
>
> I haven't written any yet, but I've been meaning to. (Personally it'd
> be better for me if the Lua plugin was distributed with Geany because
> then it would get rebuilt automatically each time we change the plugin
> abi version - but for most users this isn't a problem).
>
> Regards,
> Nick
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> http://uvena.de/cgi-bin/mailman/listinfo/geany
>



More information about the Users mailing list