--- /luads-gem.lua -- -- ---------------------------------------------------- -- -- Note: until I rebuild mod_lua, this displays as source, not as HTML. Sorry! -- ---------------------------------------------------- --require 'luarocks.require' require 'cosmo' require 'os' require 'string' require 'lfs' require 'templates' require 'blutils' local root_dir = '/usr/local/www/bluedino.net/www' local toc = blutils.toc local content = [=[
]=] function handle(r) local date = os.date('%c', lfs.attributes(root_dir .. '/writings/luads-gem.lua', 'modification')) local html_str = cosmo.fill(templates.main, {date = date, title = 'Lua Data Structures Gem', page_title = 'Lua Programming Gems:What's New?
This page will soon host code, errata and other material relating to Chapter 18 of Lua Programming Gems.