From 390f19b649b85a8f8ab762c6a4e9d1a3d23d3f47 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 19 Sep 2008 08:01:23 +0200 Subject: Add the Lua distibution from http://www.lua.org/ftp/lua-5.1.4.tar.gz Available under the MIT license. Adding it to see how the build farm likes it. They claim to be 100% pure ANSI C and compile everywhere. Lets see. If it breaks badly, we can remove it again. --- source3/lua-5.1.4/test/README | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 source3/lua-5.1.4/test/README (limited to 'source3/lua-5.1.4/test/README') diff --git a/source3/lua-5.1.4/test/README b/source3/lua-5.1.4/test/README new file mode 100644 index 0000000000..baf7583676 --- /dev/null +++ b/source3/lua-5.1.4/test/README @@ -0,0 +1,25 @@ +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 -- cgit