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

35
LINES

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

Lua code

-------------------------------------------------------------------------------
--- Lua language data
-- @module lua-nucleo.language
-- This file is a part of lua-nucleo library
-- @copyright lua-nucleo authors (see file `COPYRIGHT` for the license)
--------------------------------------------------------------------------------

local lua51_keywords =
{
  ["and"] = true, ["break"] = true, ["do"] = true,
  ["else"] = true, ["elseif"] = true, ["end"] = true,
  ["false"] = true, ["for"] = true, ["function"] = true,
  ["if"] = true, ["in"] = true, ["local"] = true,
  ["nil"] = true, ["not"] = true, ["or"] = true,
  ["repeat"] = true, ["return"] = true, ["then"] = true,
  ["true"] = true, ["until"] = true, ["while"] = true
}

local lua51_types =
{
  ["nil"] = true;
  ["boolean"] = true;
  ["number"] = true;
  ["string"] = true;
  ["table"] = true;
  ["function"] = true;
  ["thread"] = true;
  ["userdata"] = true;
}

return
{
  lua51_keywords = lua51_keywords;
  lua51_types = lua51_types;
}

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: 871 / 241
Referenced in: [show references]