Opening

zhaozj2021-02-16  88

In fact, I have registered BLOG in several places earlier, but most of them start relatively fresh.

Time is also discarded, even the password is also forgotten, but it is good, you can come back from the new start.

Silent is not a good thing.

I have learned and use Lua recently, I want to put some of this harvest and experience here, I can encourage myself, and I will

I hope to help others.

What is Lua?

In fact, Lua is a scripting language, and is similar to scripting languages ​​such as Perl, Python.

Why choose Lua without selecting other scripting languages?

Selecting a tool. Of course, it is necessary to decide according to your own environment, such as Perl, Python, PHP, etc.

Using a wide range of scripting languages, you can complete most native languages ​​(such as C, C , Pascal, etc.)

Function, why not choose them? Perhaps the reason is because they are too capable, everything can do, leading to volume

It is more huge, and if you want to use most of the features, you need many support for many libraries. LUA benefits

It is a small size, and the size of the parser is more than 100 KB. If it is compressed, only 90KB can be implemented.

The most common function, such as using functions, file processing, string processing, regular expressions, commonly used mathematical functions, etc.

Others. In fact, the most important thing is that he is easy to use other languages ​​and other languages, you can

He added the function he did not realize, and there was almost no difference in writing a normal DLL. From this point, his extension

It is very good. There is also a little, Lua is also open source code, can be integrated into your program by getting the source code.

Make your program to get the support for scripting languages.

This is Lua's LOGO:

Lua's official address is:

www.lua.org

Project website developed using Lua:

http://luaforge.net/

转载请注明原文地址:https://www.9cbs.com/read-10520.html

New Post(0)