diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-05-16 11:36:12 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-05-16 11:36:12 +0100 |
commit | 59e6c521b229795c7f7099017ad82a3dc60308a6 (patch) | |
tree | 3c83bc1a1c1a1fdf4e2a3007c3cba4f690ce4700 | |
parent | e08b6d26ce6d1633e28ed5f2a90f0b8463023083 (diff) | |
download | lace-59e6c521b229795c7f7099017ad82a3dc60308a6.tar.gz |
Add a version number (0) to lace. Will increment to 1 before first release
-rw-r--r-- | lib/lace.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/lace.lua b/lib/lace.lua index ae108ac..e685a68 100644 --- a/lib/lace.lua +++ b/lib/lace.lua @@ -12,9 +12,15 @@ local compiler = require "lace.compiler" local builtin = require "lace.builtin" local engine = require "lace.engine" +local _VERSION = 0 + +local VERSION = "Lace Version " .. tostring(_VERSION) + return { lex = lex, compiler = compiler, builtin = builtin, engine = engine, + _VERSION = _VERSION, + VERSION = VERSION, } |