Here you can find some scribblings taken during my readings of D.E. Knuth's The Art of Computer Programming. It's an implementation of some basic exercises in (yes, I know) Lua.
gcd-0.01.lua
-- Algorithm E: Find the greatest common divisor of two numbers
-- Based upon D.E. Knuth, The Art of Computer Programming, Vol. 1, p. 2
primes-0.01.lua
-- Algorithm P: Print a table of 500 primes
-- Based upon D.E. Knuth, The Art of Computer Programming, Vol. 1, p. 162
easter-0.01.lua
-- Algorithm E: Date of Easter
-- Based upon D.E. Knuth, The Art of Computer Programming, p. 160
And some random attempts at writing code ..
rot13-encryption.lua
-- ROT13 encryption algorithm
rot13-decryption.lua
-- ROT13 decryption algorithm