lua-users home
lua-l archive

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


A .c config sounds cool. It seems though that there may be more 
modification (in some cases on some external libs) than a .c can handle.
Maybe somebody needs to work on a enhanced distro that sits
on the wiki site or something.. one person makes the changes and 
everyone else benefits. ? Regardless, your trying to solve a very tough
problem... Lua by nature is so versatile it's working against you. :) good luck! 

Regards,
Jim

----- Original Message ----- 
From: "Reuben Thomas" <rrt@mupsych.org>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Thursday, January 31, 2002 11:04 AM
Subject: Re: Lua libraries


| > Try writing clean docs instead? :)
| 
| I don't understand. I'd like a way of easily building in extra libs (where
| "easily" doesn't involve fiddling in source files). This isn't possible at
| the moment, no matter how well you document the procedure. It could be
| made to work without make (forget make, that was an irrelevance!): have a
| config file listing the libs you want that then is read by a Lua script
| and mangles the sources on your behalf. Or more simply, just have a
| config.c file whose contents is #included into the initialisation
| function.
| 
| A tiny little bit of extra mechanism that simplifies building. config.c
| could even have default contents of installing the standard libraries,
| making it obvious how to edit by example, and allowing those who don't
| want the standard libraries to easily configure them out.
| 
| -- 
| http://sc3d.org/rrt/ | Slow Pedestrian Crossing
| 
| 
|