summary refs log tree commit diff stats
path: root/examples/luaex.nim
diff options
context:
space:
mode:
Diffstat (limited to 'examples/luaex.nim')
-rw-r--r--examples/luaex.nim15
1 files changed, 0 insertions, 15 deletions
diff --git a/examples/luaex.nim b/examples/luaex.nim
deleted file mode 100644
index 7628ddd12..000000000
--- a/examples/luaex.nim
+++ /dev/null
@@ -1,15 +0,0 @@
-# Embedds Lua into a Nimrod application
-
-import
-  lua, lualib, lauxlib
-
-const
-  code = """
-print 'hi'
-"""
-
-var L = newstate()
-openlibs(L)
-discard loadbuffer(L, code, code.len, "line") 
-discard pcall(L, 0, 0, 0)
-