I'm looking to create my own scripting language, highly based off of lua (im planning on it being lua but easier to understand for me) so I need to know where the predetermined functions / variables file is, because I would like to edit that. If you have a solution, please comment and let me know!
Asked
Active
Viewed 45 times
0
-
To disable standard libraries do not call `luaL_openlibs` when creating Lua VM. – Egor Skriptunoff Dec 17 '21 at 01:34
-
2See https://www.lua.org/source/5.4/ – lhf Dec 17 '21 at 09:23
1 Answers
0
Every table in the standard library is defined in its own C file. In the src
directory of the Lua source package, look for the file whose name is similar to the library name. Global functions are defined in lbaselib.c
.

luther
- 5,195
- 1
- 14
- 24