Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

35
LINES

< > BotCompany Repo | #155 // language.lua (luanucleo)

Lua code

1  
-------------------------------------------------------------------------------
2  
--- Lua language data
3  
-- @module lua-nucleo.language
4  
-- This file is a part of lua-nucleo library
5  
-- @copyright lua-nucleo authors (see file `COPYRIGHT` for the license)
6  
--------------------------------------------------------------------------------
7  
8  
local lua51_keywords =
9  
{
10  
  ["and"] = true, ["break"] = true, ["do"] = true,
11  
  ["else"] = true, ["elseif"] = true, ["end"] = true,
12  
  ["false"] = true, ["for"] = true, ["function"] = true,
13  
  ["if"] = true, ["in"] = true, ["local"] = true,
14  
  ["nil"] = true, ["not"] = true, ["or"] = true,
15  
  ["repeat"] = true, ["return"] = true, ["then"] = true,
16  
  ["true"] = true, ["until"] = true, ["while"] = true
17  
}
18  
19  
local lua51_types =
20  
{
21  
  ["nil"] = true;
22  
  ["boolean"] = true;
23  
  ["number"] = true;
24  
  ["string"] = true;
25  
  ["table"] = true;
26  
  ["function"] = true;
27  
  ["thread"] = true;
28  
  ["userdata"] = true;
29  
}
30  
31  
return
32  
{
33  
  lua51_keywords = lua51_keywords;
34  
  lua51_types = lua51_types;
35  
}

test run  test run with input  download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Image recognition results

Recognizer Recognition Result Visualize Recalc
#308 1034 [visualize]

Snippet ID: #155
Snippet name: language.lua (luanucleo)
Eternal ID of this version: #155/1
Text MD5: faebed655214cfff6847ea9403246536
Author: stefan
Category:
Type: Lua code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2014-01-13 03:40:42
Source code size: 1034 bytes / 35 lines
Pitched / IR pitched: Yes / Yes
Views / Downloads: 817 / 222
Referenced in: [show references]