-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
73 lines (42 loc) · 1.84 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Outline::Lua
With Outline::Lua you can string-eval Lua code.
Create a Lua object with Outline::Lua::new and register Perl functions
to it. The Perl functions become available to Lua as Lua functions.
Lua is meant as a safe environment for running user-contributed code, or
simply so you don't have to write your own domain-specific language for
your application.
You can find Lua at http://www.lua.org/
A sandbox is fine too!
PREREQUISITES
Outline::Lua is compiled against Lua 5.1, which seems to have been current for
long enough that I'm accepting it as an appropriate version to use.
Outline::Lua is developed on Ubuntu 10.04, which uses pkg-config to find its
compiler flags. If you don't have pkg-config set up with lua5.1 in it then you
will have to edit Makefile.PL yourself and add the correct flags in there.
Patches to make it work with 5.0 or 5.1 are welcomed.
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
This will install the version you checked out. If you prefer, you can install it
from cpan:
cpan Outline::Lua
but this method will not give you the bleeding-edge version.
SUPPORT AND DOCUMENTATION
The best place to get the docs is from the module itself:
perldoc Outline::Lua
If you think you've found a bug, please post it to the github issues page, of
course after checking that it is not already there.
http://github.com/Altreus/outline-lua/issues
You can also look for information at:
AnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/Outline-Lua
CPAN Ratings
http://cpanratings.perl.org/d/Outline-Lua
COPYRIGHT AND LICENCE
Copyright (C) 2009 Alastair Douglas
This program is free software; you can redistribute it and/or modify it
under the X11/MIT license.
http://www.opensource.org/licenses/mit-license.php