Lua is a lightweight and compact script language, which is written in standard C language and open in the form of source code. Its design purpose is to be embedded in the application, so as to provide flexible expansion and customization functions for the application.
Lua was developed in 1993 by a research team at the Pont ...
Posted by KrisCons on Mon, 07 Mar 2022 20:09:04 +0100
Catalogue of series articles
🌲 1, Lua operator
An operator is a special symbol that tells the interpreter to perform a specific mathematical or logical operation. Lua provides the following operator types:Arithmetic operatorRelational operatorLogical operatorOther Operators
🌲 1. Arithmetic operator
The f ...
Reprinted from: Lua coroutine | rookie tutorial Lua coroutine what is coroutine? Lua coroutine is similar to thread: it has independent stack, independent local variables, independent instruction pointers, and shares global variables and most other things with other coroutines. Collaboration is a very powerful function, but it is also very comp ...
Posted by gasoga on Wed, 02 Mar 2022 10:24:58 +0100
Write a C to call Lua's Demo to compile and run
//How many files do you need to include
luaadd(int x, int y)
Posted by lcoscare on Sat, 26 Feb 2022 04:01:53 +0100
I want to know how the functions exported by tolua + + implement garbage collection and how to use meta methods__ On the gc Association.
gc of lua Looking at the code, the keyword used is ". collector", while lua's gc is through modifying the meta method__ gc implemented
Garbage userdata with a field __gc in their metatab ...
Posted by newbreed65 on Thu, 17 Feb 2022 22:16:09 +0100
Copyright notice: This article is the original article of the blogger and follows CC 4.0 BY-SA Copyright agreement, please attach the original source link and this statement for reprint.
Link to this article: https://blog.csdn.net/takashi77/article/details/116655240
Lua is a process oriented and functional programming language, because Lu ...
Posted by sxiix on Fri, 11 Feb 2022 15:20:12 +0100
Hello, guys, I'm amu! A programmer who likes to share technical points through actual project practice!
Have you ever encountered the scene of being ridiculed by the interviewer; Before, there was a junior who just graduated from primary school (Internet cafe in University, temporary cramming after graduation) who was interviewed in a ...
Posted by michaelpalmer7 on Wed, 09 Feb 2022 00:45:00 +0100
lua is a powerful, efficient, lightweight and embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming and data description. I study lua mainly because of its perfect coordination mechanism.
1. Installation lua environment
The installation process ...
Posted by dominicd on Tue, 08 Feb 2022 21:44:37 +0100
1. Configuring lua development environment with vscode
Download the required compiler:
Download from official website http://www.lua.org/home.html Click this to enter the download (you can see that he said this way if you use win), but I can't open it. I don't know why After reading the articles of other bloggers, you can choose to ...
Posted by postalservice14 on Thu, 03 Feb 2022 08:54:00 +0100
1. Why RIME
There are many input methods on the market. Whether Sogou or QQ input methods are basically the same, but RIME is a special existence among many input methods.
The reason why it is special is that most input method tools are shaped when they leave the factory. There are only some custom options, which are also defined when they le ...
Posted by Darkness31 on Tue, 01 Feb 2022 21:11:08 +0100