Back to home page

Redis cross reference

 
 

    


README for Lua 5.1
See INSTALL for installation instructions. See HISTORY for a summary of changes since the last released version.
* What is Lua?


SEE ALSO: README

  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder ../ Parent directory - 2013-04-30 13:15:56  
folder doc/ doc/ - 2013-04-30 13:15:56  
folder etc/ etc/ - 2013-04-30 13:15:56

This directory contains some useful files and code. Unlike the code in ../src, everything here is in the public domain.
If any of the makes fail, you're probably not using the same libraries used to build Lua. Set MYLIBS in Makefile accordingly.
all.c Full Lua interpreter in a single file. Do "make one" for a demo.


SEE ALSO: README

folder src/ src/ - 2013-04-30 13:15:56  
folder test/ test/ - 2013-04-30 13:15:56

These are simple tests for Lua. Some of them contain useful code. They are meant to be run to make sure Lua is built correctly and also to be read, to see how Lua programs look.
Here is a one-line summary of each program:
bisect.lua bisection method for solving non-linear equations cf.lua temperature conversion table (celsius to farenheit) echo.lua echo command line arguments env.lua environment variables as automatic global variables factorial.lua factorial without recursion fib.lua fibonacci function with cache fibfor.lua fibonacci numbers with coroutines and generators globals.lua report global variable usage hello.lua the first program in every language life.lua Conway's Game of Life luac.lua bare-bones luac printf.lua an implementation of printf readonly.lua make global variables readonly sieve.lua the sieve of of Eratosthenes programmed with coroutines sort.lua two implementations of a sort function table.lua make table, grouping all data for the same item trace-calls.lua trace calls trace-globals.lua trace assigments to global variables xd.lua hex dump


SEE ALSO: README

COPYRIGHT 1528 bytes 2013-04-30 13:15:56 -  
HISTORY 7907 bytes 2013-04-30 13:15:56 -  
INSTALL 3868 bytes 2013-04-30 13:15:56 -  
Makefile 3695 bytes 2013-04-30 13:15:56 2013-05-29 04:14:00  
README 1378 bytes 2013-04-30 13:15:56 -