Lua 源文件分析

lua5.1.4核心的源代码共55个文件,大致分析如下:
lapi.c // Lua API,C调用API
lapi.h // Auxiliary functions from Lua API
lauxlib.c // Auxiliary functions for building Lua libraries
lauxlib.h // Auxiliary functions for building Lua libraries
lbaselib.c // Basic library
lcode.c // Code generator for Lua
lcode.h // Code generator for Lua
ldblib.c // Interface from Lua to its debug API,调试
ldebug.c // Debug Interface,调试
ldebug.h // Auxiliary functions from Debug Interface module,调试
ldo.c // Stack and Call structure of Lua
ldo.h // Stack and Call structure of Lua
ldump.c // save precompiled Lua chunks
lfunc.c // Auxiliary functions to manipulate prototypes and closures
lfunc.h // Auxiliary functions to manipulate prototypes and closures
lgc.c // Garbage Collector
lgc.h // Garbage Collector
linit.c // Initialization of libraries for lua.c
liolib.c // Standard I/O (and system) library
llex.c // Lexical Analyzer
llex.h // Lexical Analyzer
llimits.h // Limits, basic types, and some other `installation-dependent' definitions
lmathlib.c // Standard mathematical library
lmem.c // Interface to Memory Manager
lmem.h // Interface to Memory Manager
loadlib.c // Dynamic library loader for Lua
lobject.c // Some generic functions over Lua objects
lobject.h // Type definitions for Lua objects
lopcodes.c // 指令定义
lopcodes.h // Opcodes for Lua virtual machine
loslib.c // Standard Operating System library
lparser.c // Lua Parser
lparser.h // Lua Parser
lstate.c // Global State
lstate.h // Global State
lstring.c // String table (keeps all strings handled by Lua)
lstring.h // String table (keeps all strings handled by Lua)
lstrlib.c // Standard library for string operations and pattern-matching
ltable.c // Lua tables (hash)
ltable.h // Lua tables (hash)
ltablib.c // Library for Table Manipulation
ltm.c // Tag methods
ltm.h // Tag methods
lua.c // Lua stand-alone interpreter
lua.h // Lua - An Extensible Extension Language,C语言中用来调用Lua函数的头文件
luac.c // Lua compiler (saves bytecodes to files; also list bytecodes)
luaconf.h // Configuration file for Lua
lualib.h // Lua standard libraries,Lua标准库的定义文件
lundump.c // load precompiled Lua chunks
lundump.h // load precompiled Lua chunks
lvm.c // Lua virtual machine
lvm.h // Lua virtual machine
lzio.c // a generic input stream interface
lzio.h // Buffered streams
print.c // print bytecodes

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值