This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function printf(s, ...) | |
print(s:format(...)) | |
end | |
-- public domain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# LuaDist CMake utility library. | |
# Provides variables and utility functions common to LuaDist CMake builds. | |
# | |
# Copyright (C) 2007-2011 LuaDist. | |
# by David Manura, Peter Drahos | |
# Redistribution and use of this file is allowed according to the terms of the MIT license. | |
# For details see the COPYRIGHT file distributed with LuaDist. | |
# Please note that the package source code is licensed under its own license. | |
## INSTALL DEFAULTS (Relative to CMAKE_INSTALL_PREFIX) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
The following example illustrates string interpolation [1] | |
by way of a preprocessor that runs as a customer searcher | |
function in package.loaders. | |
Tested in Lua 5.2.0-beta. | |
Depends on | |
file_slurp https://gist.github.com/1325400 (for loading files simply) | |
luabalanced https://github.com/davidm/lua-balanced (for Lua parsing) |
Moved to https://github.com/davidm/lua-lib .
Moved to https://github.com/davidm/lua-find-bin .
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env lua | |
--[[ FILE README.txt | |
LUA MODULE | |
sourceunpack v$(_VERSION) - Extract Lua files containing other Lua files. | |
SYNOPSIS |
OlderNewer