Code samples (TXT) Fibonacci sequence (HTM) Fibonacci sequence (TXT) Palindrome (functional direct) (HTM) Palindrome (functional direct) (TXT) Palindrome (imperative) (HTM) Palindrome (imperative) (TXT) Palindrome (functional w/ pattern matching) (HTM) Palindrome (functional w/ pattern matching) 99 bottles of beer (Batch) (TXT) Plain-text (HTM) HTML 99 bottles of beer (C), no conditional branches (TXT) Plain-text (HTM) HTML 99 bottles of beer (Lua), no conditional branches (TXT) Plain-text (HTM) HTML AES 128 in ECB mode in pure Lua (HTM) HTML (TXT) Plain-text (DIR) Conditional jumps in Lua (DIR) Ruby hatred directory (DIR) Iterators on Coroutines in Lua Strict C code validation (compile main.c with both gcc and llvm): for cc in 'scan-build gcc -c' clang gcc ; do $cc -O0 -g -Wall -Wextra -Wswitch-default -Wswitch-enum -Wshadow -Wwrite-strings -pedantic -Wformat=2 -Wconversion -Wdisabled-optimization -Werror -ftrapv -fsanitize=undefined -fsanitize=address -fsanitize=leak main.c || break ; done # note scan-build may produce world-readable files under /tmp/scan-build-* # will make sense to add -fno-sanitize-recover and # -fsanitize=float-divide-by-zero once they are in stable releases