Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm unsure how many key words lua has and i want to know all the keywords in lua

What I have tried:

I tried googling but i can't seem to find any articles with every single keyword in lua unlike python
Posted
Updated 16-Mar-22 5:59am
Comments
Patrice T 16-Mar-22 11:52am    
Too bad you didn't found the documentation on internet.

You can find it in the documentation under Section 3 - The Language.
Lua 5.4 Reference Manual - Section 3.1 - Lexical Conventions[^]

Beyond reading it to you, this is the best answer you're going to get.
 
Share this answer
 
Comments
Maciej Los 16-Mar-22 13:39pm    
Dave, some one has down-voted your answer. I'd suggest to remove it to avoid further down-voting and due to the fact that Richard's answer is providing to the same documentation.
Dave Kreskowiak 16-Mar-22 15:07pm    
I get the feeling the OP is the one hitting the 1-vote. Every answer has been 1-voted.

I'm not removing the answer as it takes the OP directly to the section in the documentation where the complete list of keywords is shown.
Maciej Los 17-Mar-22 10:09am    
Upvoted :)
CPallini 17-Mar-22 10:31am    
"Beyond reading it to you, this is the best answer you're going to get."
:-D
My 5.
Read the official documentation: The Programming Language Lua[^]
 
Share this answer
 
Comments
Maciej Los 16-Mar-22 10:01am    
Oh, NO! Again a reference to the documentation? :D
5ed!
Richard MacCutchan 16-Mar-22 11:12am    
lol
Anthony Durk 16-Mar-22 11:31am    
The documentation is messy and it does not show all the keywords
Richard MacCutchan 16-Mar-22 12:01pm    
Well that is the only place you will find them.
Maciej Los 16-Mar-22 16:08pm    
Wrong. Documentation is not messy. You haven't try enough to find the list of keywords.
[update]
(Thanks to Maciej Los)
See the index section of the reference manual, e.g. Lua 5.4 Reference Manual - contents[^] section 3.1 ofLua 5.4 Reference Manual[^].
[/update]
 
Share this answer
 
v2
Comments
Maciej Los 16-Mar-22 13:35pm    
Carlo, the link you provided is the list of functions, not keywords.
Some one has down-voted your answer, instead of posting comment, which is unfair.
Change the link and let me know, then i will upvote your answer.
CPallini 17-Mar-22 3:06am    
OOOPS, you're right.
Thank you for pointing it out.
Maciej Los 17-Mar-22 10:09am    
:)Upvoted!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900