Skip to content

Version 1.5

Choose a tag to compare

@ReFreezed ReFreezed released this 22 Feb 13:09
· 144 commits to master since this release
  • 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 = 3