-
-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
Description
const fengari = require('fengari');
const luaconf = fengari.luaconf;
const lua = fengari.lua;
const lauxlib = fengari.lauxlib;
const lualib = fengari.lualib;
const L = lauxlib.luaL_newstate();
lualib.luaL_openlibs(L);
lua.lua_pushliteral(L, "print('hello world!')");
It prints nothing so I'm confused on how you use this.