Nate Starkey f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
..
README f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
bisect.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
cf.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
echo.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
env.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
factorial.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
fib.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
fibfor.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
globals.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
hello.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
life.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
luac.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
printf.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
readonly.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
sieve.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
sort.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
table.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
trace-calls.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
trace-globals.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos
xd.lua f99a263e58 Should have forked this earlier. Implements basic types(Vectori/f,Colourb/f), Document, and Element so far. Interpreter is also a Plugin, so it will start up when libRocket does. %!s(int64=13) %!d(string=hai) anos

README

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