User:SuzannaLinn Resident/LuaIndex: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
SuzannaLinn Resident (talk | contribs)
No edit summary
SuzannaLinn Resident (talk | contribs)
No edit summary
 
Line 1: Line 1:
= Introducing Lua: The New Scripting Language for SL. =
= Introducing Lua: The New Scripting Language for SL. =


In these pages, I am compiling information about Lua and LuaSL to give you an overview of their features and functionalities.
Lua for SL (SLua) has arrived to the Beta grid. I'm adding a new section "Moving from LSL to SLua" explaining how to rewrite our LSL scripts in SLua.




I have opened a topic in the community forums: [https://community.secondlife.com/forums/topic/516476-expecting-lua/ Expecting Lua]. If you have any additional information, questions, comments, opinions or anything else related to Lua in SL that comes to mind, please share them! :)
In these pages, I am compiling information about Lua and SLua (the version of Lua for SL) to give you an overview of their features and functionalities.


* The sections '''The language: Lua compared to LSL''' and '''The language: Lua beyond LSL''' are based on the standard Lua language. I wrote them before Lua arrived to the beta grid.


I will begin a series of in-world classes on LuaSL as soon as it becomes available in the Beta Grid. These classes will be oriented to scripters who primarily use LSL, and they will cover not only Lua but also introduce new programming concepts that are currently absent in LSL.
* I'm currently writing the section '''Moving from LSL to SLua''' based on the SL version of Lua: SLua. This section will be growing in the next days and weeks.
 
Once Lua is launched on the Main Grid, I will repeat the same series of classes, allowing you to choose the moment to start your learning journey.
 
For advanced scripters who have a solid understanding of other programming languages and don't require detailed classes, I will host script meetings and Q&A sessions, to exchange ideas and ask questions.




Line 23: Line 20:
** [[User:SuzannaLinn_Resident/Lua_History#Why_Lua.3F | Why Lua?]]
** [[User:SuzannaLinn_Resident/Lua_History#Why_Lua.3F | Why Lua?]]
** [[User:SuzannaLinn_Resident/Lua_History#Which_Lua.3F | Which Lua?]]
** [[User:SuzannaLinn_Resident/Lua_History#Which_Lua.3F | Which Lua?]]
** [[User:SuzannaLinn_Resident/Lua_History#SLua.3F | SLua?]]




Line 55: Line 53:
** [[User:SuzannaLinn_Resident/LuaLanguage2#Debugging | Debugging ]]
** [[User:SuzannaLinn_Resident/LuaLanguage2#Debugging | Debugging ]]
** [[User:SuzannaLinn_Resident/LuaLanguage2#Co-routines | Co-routines ]]
** [[User:SuzannaLinn_Resident/LuaLanguage2#Co-routines | Co-routines ]]
* [[User:SuzannaLinn_Resident/LuaMovingTo | Moving from LSL to SLua]]




* [[User:SuzannaLinn_Resident/LuaFuture | Future]]
* [[User:SuzannaLinn_Resident/LuaFuture | Future]]
** [[User:SuzannaLinn_Resident/LuaFuture#When_will_Lua_be_available.3F | When will Lua be available?]]
** [[User:SuzannaLinn_Resident/LuaFuture#When_will_SLua_be_available_on_the_main_grid.3F | When will SLua be available on the main grid?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_LSL_scripts_benefit_from_being_compiled_to_Luau.3F | Will LSL scripts benefit from being compiled to Luau?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_LSL_scripts_benefit_from_being_compiled_to_VM_Luau_instead_of_VM_Mono.3F | Will LSL scripts benefit from being compiled to VM Luau instead of VM Mono?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_Lua_scripts_have_more_memory.3F | Will Lua scripts have more memory?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_SLua_scripts_have_more_memory.3F | Will SLua scripts have more memory?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_LSL_continue_to_exist.3F | Will LSL continue to exist?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_LSL_continue_to_exist.3F | Will LSL continue to exist?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_LSL_receive_updates_with_new_functions.3F | Will LSL receive updates with new functions?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_LSL_receive_updates_with_new_functions.3F | Will LSL receive updates with new functions?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_there_be_any_way_to_use_the_functions_not_added_in_LSL.3F | Will there be any way to use the functions not added in LSL?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_there_be_any_way_to_use_the_functions_not_added_in_LSL.3F | Will there be any way to use the functions not added in LSL?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_there_be_a_translator_or_transpiler_to_convert_LSL_source_code_into_Lua_source_code.3F | Will there be a translator or transpiler to convert LSL source code into Lua source code?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_there_be_a_translator_or_transpiler_to_convert_LSL_source_code_into_SLua_source_code.3F | Will there be a translator or transpiler to convert LSL source code into SLua source code?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_we_have_to_move_to_Lua.3F | Will we have to move to Lua?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_we_have_to_move_to_SLua.3F | Will we have to move to SLua?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Should_we_stop_learning_LSL_and_wait_for_Lua.3F | Should we stop learning LSL and wait for Lua?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Should_we_stop_learning_LSL_and_wait_for_SLua.3F | Should we stop learning LSL and wait for SLua?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_LuaSL_be_updated_to_the_new_versions_of_Luau.3F | Will LuaSL be updated to the new versions of Luau?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_SLua_be_updated_to_the_new_versions_of_Luau.3F | Will SLua be updated to the new versions of Luau?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_LSL_scripts_compiled_in_Mono_be_automatically_recompiled_to_Luau.3F | Will LSL scripts compiled in Mono be automatically recompiled to Luau?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_LSL_scripts_compiled_in_VM_Mono_be_automatically_recompiled_to_VM_Luau.3F | Will LSL scripts compiled in VM Mono be automatically recompiled to VM Luau?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_there_be_an_option_to_choose_between_compiling_to_Luau_or_to_Mono.3F | Will there be an option to choose between compiling to Luau or to Mono?]]
** [[User:SuzannaLinn_Resident/LuaFuture#Will_there_be_an_option_to_choose_between_compiling_to_VM_Luau_or_to_VM_Mono.3F | Will there be an option to choose between compiling to VM Luau or to VM Mono?]]




Line 75: Line 76:
** [[User:SuzannaLinn_Resident/LuaLinks#Standard_Lua | Standard Lua]]
** [[User:SuzannaLinn_Resident/LuaLinks#Standard_Lua | Standard Lua]]
** [[User:SuzannaLinn_Resident/LuaLinks#Luau | Luau]]
** [[User:SuzannaLinn_Resident/LuaLinks#Luau | Luau]]
** [[User:SuzannaLinn_Resident/LuaLinks#Others | Others]]
** [[User:SuzannaLinn_Resident/LuaLinks#SLua | SLua]]

Latest revision as of 07:01, 1 April 2025

Introducing Lua: The New Scripting Language for SL.

Lua for SL (SLua) has arrived to the Beta grid. I'm adding a new section "Moving from LSL to SLua" explaining how to rewrite our LSL scripts in SLua.


In these pages, I am compiling information about Lua and SLua (the version of Lua for SL) to give you an overview of their features and functionalities.

  • The sections The language: Lua compared to LSL and The language: Lua beyond LSL are based on the standard Lua language. I wrote them before Lua arrived to the beta grid.
  • I'm currently writing the section Moving from LSL to SLua based on the SL version of Lua: SLua. This section will be growing in the next days and weeks.


If LSL is your main scripting language and you want to expand your programming skills beyond SL, learning Lua is a great next step. Lua introduces powerful features and modern programming concepts that will broaden your knowledge and make it easier to transition to modern, in-demand languages like C#, Python, and JavaScript.


Lua index