WoWInterface SVN LibLogic

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 3 to Rev 4
    Reverse comparison

Rev 3 → Rev 4

LibLogic-1.0.lua
53,7 → 53,7
-- 2 and
-- 3 or
 
 
-- yes, the compiler is one large function... might need to refactor it ...
local function CompileLocal(logic,compiledLogic)
local args = logic.arguments
 
172,27 → 172,6
end
 
 
 
 
local function CompileFunction(logic,compiledLogic)
end
 
local function CompileAnd(logic,compiledLogic)
end
 
local function CompileOr(logic,compiledLogic)
end
 
 
local function CompileLocal(logic,compiledLogic)
if logic.type then
if logic.type == "value" then
table.insert(compiledLogic,{[1]=0 , [2]=logic.value})
end
 
end
end
 
-- API
function LibLogic:Compile(logic)
local compiledLogic = {