-- examples/simple-config-reader.lua -- -- Simple configuration reader which interrogates only specific keys -- -- Copyright 2012 Daniel Silverstone -- clod = require "clod" local configuration = [[ project.name "Clod" project.head "refs/heads/master" ]] conf = clod.parse(configuration) print("Project name is", conf.settings["project.name"]) print("Project HEAD is", conf.settings.project.head)