Code restructuring: eliminated the top-level lib/ directory

This commit is contained in:
Zef Hemel
2025-09-23 17:00:34 +02:00
parent 4fbdb4c9dd
commit f4336bf09f
175 changed files with 353 additions and 327 deletions
@@ -0,0 +1,8 @@
local parsedExpr = spacelua.parseExpression("1 + 1")
local evalResult = spacelua.evalExpression(parsedExpr)
assert(evalResult == 2, "Eval should return 2")
-- Slightly more advanced example with augmented environment
local parsedExpr = spacelua.parseExpression("tostring(a + 1)")
local evalResult = spacelua.evalExpression(parsedExpr, { a = 1 })
assert(evalResult == "2", "Eval should return 2 as a string")