Lua from Other Languages: Difference between revisions

no edit summary
>Ozzypig
No edit summary
>Myrkos
No edit summary
Line 18: Line 18:
* Lua has no headers, and there is no function to start the code. It all begins from the top and ends at the bottom.
* Lua has no headers, and there is no function to start the code. It all begins from the top and ends at the bottom.
* Lua is embedded into host/parent applications. The compilation process is done on-the-fly, and you cannot get stand-alone executables from Lua.
* Lua is embedded into host/parent applications. The compilation process is done on-the-fly, and you cannot get stand-alone executables from Lua.
* Lua does not use braces for opening and closing blocks of code. It uses the '''end''' statement.
* Lua does not use braces for opening and closing blocks of code. It uses the '''do''' and '''end''' (loops) or '''then''' and '''end''' (if) statements.


==Lua from Python==
==Lua from Python==
Anonymous user