初学者必备文档:关于Lua源文件分析

移动开发 iOS
关于Lua源文件分析是本文要介绍的内容,主要是来聊lua的源文件,本人认为作为初学者应该去了解并学习这些内容,具体来看本文详解。

关于Lua源文件分析是本文要介绍的内容,主要是来聊lua源文件,本人认为作为初学者应该去了解并学习这些内容,具体来看本文详解。

lua 5.1.4核心的源代码共55个文件,大致分析如下:

  1. lapi.c // Lua API,C调用API  
  2. lapi.h // Auxiliary functions from Lua API  
  3. lauxlib.c // Auxiliary functions for building Lua libraries  
  4. lauxlib.h // Auxiliary functions for building Lua libraries  
  5. lbaselib.c // Basic library  
  6. lcode.c // Code generator for Lua  
  7. lcode.h // Code generator for Lua  
  8. ldblib.c // Interface from Lua to its debug API,调试  
  9. ldebug.c // Debug Interface,调试  
  10. ldebug.h // Auxiliary functions from Debug Interface module,调试  
  11. ldo.c // Stack and Call structure of Lua  
  12. ldo.h // Stack and Call structure of Lua  
  13. ldump.c // save precompiled Lua chunks  
  14. lfunc.c // Auxiliary functions to manipulate prototypes and closures  
  15. lfunc.h // Auxiliary functions to manipulate prototypes and closures  
  16. lgc.c // Garbage Collector  
  17. lgc.h // Garbage Collector  
  18. linit.c // Initialization of libraries for lua.c  
  19. liolib.c // Standard I/O (and system) library  
  20. llex.c // Lexical Analyzer  
  21. llex.h // Lexical Analyzer  
  22. llimits.h // Limits, basic types, and some other `installation-dependent' definitions  
  23. lmathlib.c // Standard mathematical library  
  24. lmem.c // Interface to Memory Manager  
  25. lmem.h // Interface to Memory Manager  
  26. loadlib.c // Dynamic library loader for Lua  
  27. lobject.c // Some generic functions over Lua objects  
  28. lobject.h // Type definitions for Lua objects  
  29. lopcodes.c // 指令定义  
  30. lopcodes.h // Opcodes for Lua virtual machine  
  31. loslib.c // Standard Operating System library  
  32. lparser.c // Lua Parser  
  33. lparser.h // Lua Parser  
  34. lstate.c // Global State  
  35. lstate.h // Global State  
  36. lstring.c // String table (keeps all strings handled by Lua)  
  37. lstring.h // String table (keeps all strings handled by Lua)  
  38. lstrlib.c // Standard library for string operations and pattern-matching  
  39. ltable.c // Lua tables (hash)  
  40. ltable.h // Lua tables (hash)  
  41. ltablib.c // Library for Table Manipulation  
  42. ltm.c // Tag methods  
  43. ltm.h // Tag methods  
  44. lua.c // Lua stand-alone interpreter  
  45. lua.h // Lua - An Extensible Extension Language,C语言中用来调用Lua函数的头文件  
  46. luac.c // Lua compiler (saves bytecodes to files; also list bytecodes)  
  47. luaconf.h // Configuration file for Lua  
  48. lualib.h // Lua standard libraries,Lua标准库的定义文件  
  49. lundump.c // load precompiled Lua chunks  
  50. lundump.h // load precompiled Lua chunks  
  51. lvm.c // Lua virtual machine  
  52. lvm.h // Lua virtual machine  
  53. lzio.c // a generic input stream interface  
  54. lzio.h // Buffered streams  
  55. print.c // print bytecodes 

小结:初学者必备文档:关于Lua源文件分析的内容介绍完了,希望通过本文的学习能对你有所帮助!

责任编辑:zhaolei 来源: CSDN博客
相关推荐

2011-08-25 15:51:10

Lua脚本

2011-08-29 15:45:59

Lua函数

2011-08-24 09:54:05

Lua字符春交互

2011-08-23 14:01:03

LUA

2011-08-11 10:50:08

xcode调试文件

2011-08-12 10:27:52

Objective-C对象

2011-08-17 12:03:36

Objective-C

2011-08-05 14:16:47

Objective-C 变量 方法

2011-08-24 17:05:01

Lua

2011-09-08 10:38:37

Widget

2010-05-12 17:36:44

MySQL初学者

2020-08-16 13:10:46

TensorFlow深度学习数据集

2023-07-03 15:05:07

预测分析大数据

2011-08-04 18:01:07

IOS Cocoa Touc

2011-07-06 14:07:38

2009-11-17 15:33:26

PHP数组元素

2022-04-24 15:21:01

MarkdownHTML

2011-09-16 09:38:19

Emacs

2011-08-10 16:44:56

iPhone代理设计模式

2011-08-02 14:48:04

IOS 多任务
点赞
收藏

51CTO技术栈公众号