/LUA

A programming language based upon the lua programming language

Primary LanguageC

This is LUA 5.2, based on lua 5.2.2

LUA 5.2.2 Copyright (C) 1994-2013 lua.org, PUC-Rio
> FOR K IN PAIRS(_G)DO IO.WRITE(K.." ")END
TOSTRING COROUTINE GETMETATABLE RAWGET SELECT SETMETATABLE RAWEQUAL _VERSION PAIRS LOADFILE LOAD BIT32 IO OS RAWSET ERROR XPCALL REQUIRE DEBUG MATH STRING TABLE _G LOADSTRING MODULE UNPACK TONUMBER PCALL COLLECTGARBAGE FOP NEXT RAWLEN PACKAGE ASSERT TYPE DOFILE IPAIRS PRINT
> FOR I,V IN IPAIRS{"a","b","c","d"}DO IO.WRITE(I.."="..V.." ")END
-1=a 0=b 1=c 2=d
> (STRING.CHAR % PRINT)[104](101,108,108,111)
hello
>