Skip to content

awm/lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lua

Build Status

The Lua programming language with some additional compile-time configuration options.

See lua.org for more infomation on the Lua language.

All additional options are controlled by preprocessor defines in luaconf.h.

Additional Configuration

LUA_DISABLE_FLOAT

Disable all floating point support in Lua. Only integers will be supported for numeric operations. This removes any dependency on the standard C library's <math.h>. Setting this will also remove the following features, which require floating point support:

LUA_DISABLE_FS

Disable file system support in Lua. It is still possible to create io file objects in C code and pass them to Lua scripts. The standard streams (stdin, stdout, and stderr) will continue to exist. Setting this will remove the following features, which require file system support:

Note: this option does not remove the ability to load Lua files from within C code (for example, using luaL_loadfile).

LUA_DISABLE_EXEC

Disable subprocess execution in Lua to prevent Lua from invoking other executables. Setting this will remove the following features, which provide Lua's subprocess capabilities:

LUA_DISABLE_EXIT

Disable ability for Lua scripts to explicitly terminate their own process. This does not prevent other behaviours such as unhandled errors or failed assertions from doing so, however. Setting this will remove the following feature, which provides Lua's exit capability:

About

The Lua programming language with some additional compile-time configuration options.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published