\input lt3luabridge\relax
\luabridgeExecute{x = 1 -- this will have no effect due to sandboxing}
$ 1 + 2 = \luabridgeExecute{if x == nil then print(1 + 2) end} $
\bye