Switch branches/tags
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
cexport.lua
class1.lc
const.lua
cskin.lua
dll.c
dollar.lua
exit.tmp
forall1.lua
lc.lua
list.lua
mmath.lua
mod.m.lua
proto.lua
qw.lua
rawhash.lua
readme.md
run-tests.lua
str.l.c
test-assert.lua
test-atm.lua
test-block.lua
test-case.lua
test-const.lua
test-cskin.lua
test-do.lua
test-dollar.lua
test-forall.lua
test-forall1.lua
test-include.lua
test-lambda.lua
test-list.lua
test-macro.lua
test-mod.lua
test-pl-list.lua
test-proto.lua
test-qw.lua
test-rawhash.lua
test-require.lua
test-scope.lua
test-test.lua
test-try.lua
test-with.lua
test.inc
tests.bat
tests.lua
winapi.lc

readme.md

To run the examples, you can either directly use

$> lua ../luam.lua run-tests.lua

or make a shortcut to luam.lua on your path.

$> luam run-tests.lua

run-tests.lua is both an example of using macros and a little test harness for the package.

The shortcut should look something like this

@echo off
rem luam.bat
lua c:\mylua\LuaMacro\luam.lua %*

or this:

# luam
lua /home/frodo/lua/LuaMacro/luam.lua $*

and then should be copied somewhere on your executable path.