Releases: ReFreezed/LuaPreprocess
Releases · ReFreezed/LuaPreprocess
Version 1.5
- Changed/improved
!!...(see below). - Fixed an internal 'trying to call nil' error.
Dual code preprocessor lines must now be assignments. The value expression is now evaluated in the metaprogram before being outputted into the generated program. Example:
-- Input:
!local two = 2
!!local x = 1+two
-- Metaprogram:
local two = 2
local x = 1+two
outputLua("local x = ")
outputValue(x)
-- Generated program:
local x = 3Version 1.4
- Added support for Lua 5.2 and 5.3.
- Fixed some error handling stuff.
Version 1.3.1
Fixed returned value from params.onAfterMeta() not getting used.
Version 1.3
- Added
info.linesOfCodetoprocessFile()/processString(). --saveinfooption now saves all info thatprocessFile()returns for each file.- Added
concatTokens().
Version 1.2
Added preprocess.processString().