fengari-lua / fengari

🌙 φεγγάρι - The Lua VM written in JS ES6 for Node and the browser
MIT License
1.81k stars 64 forks source link

Expose fengari version #118

Closed daurnimator closed 6 years ago

daurnimator commented 6 years ago

I wasn't sure whether to do it in the style of Lua's _VERSION which is the string "Lua 5.3" (e.g. so _FENGARI_VERSION == "Fengari 0.0.1", or as a number, which seems to be more useful.

Closes https://github.com/fengari-lua/fengari-web/issues/13

daurnimator commented 6 years ago

LuaJIT exposes it's version via jit.version and e.g. contains "LuaJIT 2.1.0-beta3". Perhaps we should have a fengari library?

daurnimator commented 6 years ago

Merged #120 instead.