Greetings.

I've had an uncomfortably long break from writing in Lua, largely
because of Perl's CPAN module Term::ReadKey
  http://search.cpan.org/perldoc?Term::ReadKey
for which I haven't noticed a Lua equivalent (so that's the first
question: are there already Lua equivalents for ReadMode(), ReadKey()
and GetTerminalSize() that I missed ?);

So I've started to do a Lua translation of Term::ReadKey.  To get its
portability, Term::ReadKey comes with a behind-the-scenes system-explorer
  http://search.cpan.org/dist/TermReadKey/Configure.pm
which is invoked by genchars.pl
  http://cpansearch.perl.org/src/STSI/TermReadKey-2.30.02/genchars.pl
to generate a custom cchars.h header at build time.
Translating Configure.pm and genchars.pl is more than I bargained for,
so now I've got questions like:

 Is any of this  Configure.pm  functionality already in luarocks?

 Is is acceptable to depend on Perl during a luarocks install,
   and run genchars.pl and Configure.pm more or less as they are?

 The function names offered by the Term::ReadKey module are capitalised
   (eg: ReadMode()) which is not my habit, but I would like to make
   my readkey.lua as calling-interface-compatible as possible;
   are capitalised function names OK in a luarocks module ?

Thanks, regards,
Peter Billam

http://www.pjb.com.au      [email protected]     (03) 6278 9410
"Follow the charge, not the particle."  --  Richard Feynman
 from The Theory of Positrons, Physical Review, 1949

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to