Lua 5.3 手册中文版
cloudwu / lua53doc Goto Github PK
View Code? Open in Web Editor NEWThe Chinese Translation of Lua 5.3 document
The Chinese Translation of Lua 5.3 document
Lua 5.3 手册中文版
感觉 C API 节内第一行可以译为:简化了 C 当中的延续点 API;
原文是:simpler API for continuation functions in C
原译是:简化了延续点 API
原文是:Lua also compiles unmodified as C++.
译文是:同时,Lua 还可以直接以 C++ 形式编译。
我觉得:Lua 还可以直接编译并用于 C++。
Receives a value of any type and converts it to a string in a human-readable format. Floats always produce strings with some floating-point indication (either a decimal dot or an exponent).
可以接收任何类型,它将其转换为人可阅读的字符串形式。 浮点数总被转换为小数点分割的形式(一定有小数点,没有指数)。
either a decimal dot or an exponent 翻译为:"无论是小数点或指数" 是否更合适?
yield 翻译成 让出,读着很别扭啊。
翻译成 暂停、休眠或者挂起如何?
初看以为_ENV是编译时插入的“代码块内定义”的局部变量,后文指出实为upvalue,这就有点矛盾了;
我觉得“外部的”更好些,跟“作用域”、upvalue呼应,也符合“external local variable”的直译;
如果不要直译,直接译为upvalue也好。
在字符串外的任何地方出现以双横线 (--) 开头的部分是 注释 。 如果 -- 后没有紧跟着一个开大括号
开大括号应为开长括号
转义串 '\z' 会忽略其后的一系列空白符,包括换行;但是实际测试却没有忽略换行,print("hello\z\nworld"),看代码似乎没有判断转义符?
file:read(...) 中有这样一个格式:
"i": 读取一个整数,返回整数值。
但英文文档中并没有这样的格式,请问是英文文档后来去掉了吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.