mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
11 lines
382 B
Lua
11 lines
382 B
Lua
-- indicate a Runtime node: it should not exist in the AST generated by the parser but only as a result of an evaluation or call
|
|
-- is assumed to be already evaluated; we reserve the right to error if a Runtime node occurs in something that was never evaluated
|
|
|
|
local ast = require("anselme.ast")
|
|
|
|
return ast.abstract.Node {
|
|
type = "runtime",
|
|
init = false,
|
|
|
|
_evaluated = true,
|
|
}
|