knit
knit copied to clipboard
Feature request: +=
Like :=, this is just syntactic sugar to make makefile writers more comfortable
-- declare string
local flags = '-Wall'
-- declare table
local src = {}
-- when the LHS of += is a string, append one space and RHS
flags += -Os
-- when the LHS of += is a table, append RHS converted to string
src += main.c