lua-users home
lua-l archive

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


On Wed, Mar 22, 2006 at 06:13:43PM +0100, Mike Pall wrote:
> I have to clarify this: the current lua-users Wiki does not make
> it easy to add inline Lua code with syntax highlighting. And it's
> difficult to allow downloading of the same code snippets in pure
> text form (without getting into sync problems).

Syntax highlighting is one thing, but if these are just snippets,
what's wrong with cut and paste?

> I'm not aware of any generic software for nicely maintaining a
> repository of source code snippets and comments. I guess a Wiki
> is still the best match, but it would need some extensions for
> inlining Lua code. Some of this may be available in other Wiki
> software. But it may be easier to modify the current Wiki. Maybe
> the examples should be in an extra Wiki tree, too.

I host the Wiki for the Scala language (scala.sygneca.com), which uses
DokuWiki. DokuWiki's syntax highlighting is provided by GeSHi, which
also supports Lua. It's fairly new, but looks like it will work okay
so far.

> [To keep this discussion in focus: let's solve the problem of a
> repository for Lua code _snippets_ first. This is not about a
> CPAN for Lua -- which has very different needs.]

I'd have thought that LuaCheia would have been the first step in that
direction, but it never gained critical mass. Maybe the time is right
this time around, and someone should try to revive it. (Not
volunteering).

-- Jamie Webb