// // lua51yamaha.hilight - Lua 5.1 (YAMAHA RT Series) Syntax Highlighting // // author : nzawa // created : 2016-02-23 // modified : 2016-03-27 // revision : 1.6a // // references : http://www.lua.org/manual/5.1/ // http://www.rtpro.yamaha.co.jp/RT/docs/lua/tutorial/library.html // http://www.rtpro.yamaha.co.jp/RT/docs/lua/rt_api.html // //-------------------------------------------------------------------- // operators //-------------------------------------------------------------------- 33,# 33,% 33,* 33,+ 33,- 33,.. 33,... 33,/ 33,< 33,<= 33,= 33,== 33,> 33,>= 33,^ 33,~= //-------------------------------------------------------------------- // reserved words //-------------------------------------------------------------------- 33,and 33,break 33,do 33,else 33,elseif 33,end 33,false 33,for 33,function 33,goto 33,if 33,in 33,local 33,nil 33,not 33,or 33,repeat 33,return 33,then 33,true 33,until 33,while //-------------------------------------------------------------------- // functions (yamaha and lua 5.1) //-------------------------------------------------------------------- 97,assert 97,collectgarbage 97,coroutine.create 97,coroutine.resume 97,coroutine.running 97,coroutine.status 97,coroutine.wrap 97,coroutine.yield 97,dofile 97,error 97,file:close 97,file:flush 97,file:lines 97,file:read 97,file:write 97,getfenv 97,getmetatable 97,io.close 97,io.flush 97,io.input 97,io.lines 97,io.open 97,io.output 97,io.read 97,io.type 97,io.write 97,ipairs 97,load 97,loadfile 97,loadstring 97,math.abs 97,math.fmod 97,math.max 97,math.min 97,math.random 97,math.randomseed 97,module 97,next 97,os.clock 97,os.date 97,os.difftime 97,os.exit 97,os.getenv 97,os.remove 97,os.rename 97,os.time 97,package.seeall 97,pairs 97,pcall 97,print 97,rawequal 97,rawget 97,rawset 97,require 97,select 97,setfenv 97,setmetatable 97,string.byte 97,string.char 97,string.dump 97,string.find 97,string.format 97,string.gmatch 97,string.gsub 97,string.len 97,string.lower 97,string.match 97,string.rep 97,string.reverse 97,string.sub 97,string.upper 97,table.concat 97,table.insert 97,table.maxn 97,table.remove 97,table.sort 97,tonumber 97,tostring 97,type 97,unpack 97,xpcall //-------------------------------------------------------------------- // variables //-------------------------------------------------------------------- 161,arg 161,rt.socket._VERSION 161,self 161,_G 161,_RT_FIRM_VERSION 161,_RT_LUA_VERSION 161,_RT_LUA_VERSION_NUM 161,_RT_MATH_RANDOM_STATE 161,_VERSION 161,__add 161,__call 161,__concat 161,__div 161,__eq 161,__gc 161,__index 161,__le 161,__len 161,__lt 161,__metatable 161,__mod 161,__mode 161,__mul 161,__newindex 161,__pow 161,__sub 161,__tostring 161,__unm //-------------------------------------------------------------------- // functions (yamaha only) //-------------------------------------------------------------------- 225,bit.band 225,bit.bnot 225,bit.bor 225,bit.brotate 225,bit.bshift 225,bit.btest 225,bit.bxor 225,each 225,hwd:blink 225,hwd:close 225,hwd:getc 225,hwd:getchar 225,hwd:gets 225,hwd:off 225,hwd:on 225,hwd:read 225,hwd:tone 225,rt.command 225,rt.httprequest 225,rt.hw.open 225,rt.mail 225,rt.mime.b64 225,rt.mime.dot 225,rt.mime.eol 225,rt.mime.qp 225,rt.mime.qpwrp 225,rt.mime.unb64 225,rt.mime.unqp 225,rt.mime.wrp 225,rt.sleep 225,rt.socket.dns.gethostname 225,rt.socket.dns.tohostname 225,rt.socket.dns.toip 225,rt.socket.gettime 225,rt.socket.newtry 225,rt.socket.protect 225,rt.socket.select 225,rt.socket.skip 225,rt.socket.sleep 225,rt.socket.tcp 225,rt.socket.udp 225,rt.syslog 225,rt.syslogwatch 225,string.regexp 225,string.split 225,tcp:accept 225,tcp:bind 225,tcp:close 225,tcp:connect 225,tcp:getpeername 225,tcp:getsockname 225,tcp:getstats 225,tcp:listen 225,tcp:receive 225,tcp:send 225,tcp:setoption 225,tcp:setstats 225,tcp:settimeout 225,tcp:shutdown 225,udp:close 225,udp:getpeername 225,udp:getsockname 225,udp:receive 225,udp:receivefrom 225,udp:send 225,udp:sendto 225,udp:setpeername 225,udp:setsockname 225,udp:settimeout //-------------------------------------------------------------------- // functions (lua 5.1 only) //-------------------------------------------------------------------- 291,debug.traceback 291,debug.setupvalue 291,debug.setmetatable 291,debug.setlocal 291,debug.sethook 291,debug.setfenv 291,debug.getupvalue 291,debug.getregistry 291,debug.getmetatable 291,debug.getlocal 291,debug.getinfo 291,debug.gethook 291,debug.getfenv 291,debug.debug 291,file:setvbuf 291,file:seek 291,io.tmpfile 291,io.stdout 291,io.stdin 291,io.stderr 291,io.popen 291,math.tanh 291,math.tan 291,math.sqrt 291,math.sinh 291,math.sin 291,math.rad 291,math.pow 291,math.pi 291,math.modf 291,math.log10 291,math.log 291,math.ldexp 291,math.huge 291,math.frexp 291,math.floor 291,math.exp 291,math.deg 291,math.cosh 291,math.cos 291,math.ceil 291,math.atan2 291,math.atan 291,math.asin 291,math.acos 291,os.tmpname 291,os.setlocale 291,os.execute 291,package.preload 291,package.path 291,package.loadlib 291,package.loaders 291,package.loaded 291,package.cpath / /0003,00000002,00,00,00010003,"--\\[(=*)\\[",0001000B,"\\]\\1\\]" /0003,00000003,00,00,00000002,"--",00000002,"" /0014,00000002,00,00,00010003,"\\[(=*)\\[",0000000B,"\\]\\1\\]" /0014,00000002,00,5C,00000002,"\"",00000002,"\"" /0014,00000002,00,5C,00000002,"'",00000002,"'" / /0000,0002,0000,00000000,40011117,"(local +)?function","" / /TreeWordExData:0 //-------------------------------------------------------------------- // MIFES 10 style (rev.1.0) //-------------------------------------------------------------------- / /[0][0]:0x00FDFDFD /[0][1]:0x00281414 /[0][2]:0x00000000 /[1][0]:0x00C88278 /[1][1]:0x02000000 /[1][2]:0x00000000 /[2][0]:0x00FAC8BE /[2][1]:0x02000000 /[2][2]:0x00000001 /[3][0]:0x00644B46 /[3][1]:0x02000000 /[3][2]:0x00000000 /[4][0]:0x00FFC896 /[4][1]:0x02000000 /[4][2]:0x00000000 /[5][0]:0x00050505 /[5][1]:0x00F0BE8C /[5][2]:0x00000001 /[6][0]:0x00FFA014 /[6][1]:0x00463232 /[6][2]:0x00000001 /[7][0]:0x0078C896 /[7][1]:0x02000000 /[7][2]:0x00000000 /[8][0]:0x00050505 /[8][1]:0x006EBE8C /[8][2]:0x00000001 /[9][0]:0x0050FA50 /[9][1]:0x00463232 /[9][2]:0x00000001 /[10][0]:0x00FFFFFF /[10][1]:0x005A00B9 /[10][2]:0x00000000 /[11][0]:0x00FFFF80 /[11][1]:0x02000000 /[11][2]:0x00000002 /[12][0]:0x00FFFF80 /[12][1]:0x02000000 /[12][2]:0x00000002 /[13][0]:0x00C87864 /[13][1]:0x02000000 /[13][2]:0x00000000 /[14][0]:0x00FFC896 /[14][1]:0x02000000 /[14][2]:0x00000000 /[15][0]:0x0078C896 /[15][1]:0x02000000 /[15][2]:0x00000000 /[16][0]:0x006ED7EB /[16][1]:0x00281414 /[16][2]:0x00000000 /[17][0]:0x00000000 /[17][1]:0x00FFFFFF /[17][2]:0x00000000 /[18][0]:0x00007D91 /[18][1]:0x00281414 /[18][2]:0x00000000 /[19][0]:0x00007D91 /[19][1]:0x00281414 /[19][2]:0x00000000 /[20][0]:0x00A078F0 /[20][1]:0x02000000 /[20][2]:0x00000000 /[21][0]:0x00FFFF80 /[21][1]:0x02000000 /[21][2]:0x00000002 /[22][0]:0x006482F0 /[22][1]:0x02000000 /[22][2]:0x00000000 /[23][0]:0x00DC78B4 /[23][1]:0x02000000 /[23][2]:0x00000000 /[24][0]:0x00FFFFFF /[24][1]:0x02000000 /[24][2]:0x00000001 /[25][0]:0x00E6E6E6 /[25][1]:0x02000000 /[25][2]:0x00000000 /[26][0]:0x006ED7EB /[26][1]:0x02000000 /[26][2]:0x00000000 /[27][0]:0x00FFFFFF /[27][1]:0x00281414 /[27][2]:0x00000000 /[28][0]:0x00FFFFFF /[28][1]:0x00281414 /[28][2]:0x00000000 /[29][0]:0x00FFFFFF /[29][1]:0x00281414 /[29][2]:0x00000000 /[30][0]:0x00FFFFFF /[30][1]:0x00281414 /[30][2]:0x00000000 /[31][0]:0x002D1919 /[31][1]:0x00281414 /[31][2]:0x00000000 /[32][0]:0x004040FF /[32][1]:0x00281414 /[32][2]:0x00000000 /[33][0]:0x00FFFFFF /[33][1]:0x00281414 /[33][2]:0x00000000 /[34][0]:0x00FAFAFA /[34][1]:0x00BE5A00 /[34][2]:0x00000000 /[35][0]:0x000000F0 /[35][1]:0x00281414 /[35][2]:0x00000000 /[36][0]:0x00FA960A /[36][1]:0x02000000 /[36][2]:0x00000000 /[37][0]:0x0046F046 /[37][1]:0x02000000 /[37][2]:0x00000000 /[38][0]:0x00465AF0 /[38][1]:0x02000000 /[38][2]:0x00000000 /[39][0]:0x00FA78FA /[39][1]:0x02000000 /[39][2]:0x00000000 /[40][0]:0x00050505 /[40][1]:0x006E8CE6 /[40][2]:0x00000001 /[41][0]:0x00050505 /[41][1]:0x00C882F0 /[41][2]:0x00000001 /[42][0]:0x005A6EFF /[42][1]:0x00463232 /[42][2]:0x00000001 /[43][0]:0x00FA96D2 /[43][1]:0x00463232 /[43][2]:0x00000001 /[44][0]:0x00E6E600 /[44][1]:0x02000000 /[44][2]:0x00000000 /[45][0]:0x00FFFFFF /[45][1]:0x00501914 /[45][2]:0x00000000 /[46][0]:0x00C88278 /[46][1]:0x02000000 /[46][2]:0x00000000 /[47][0]:0x008C7878 /[47][1]:0x02000000 /[47][2]:0x00000000 /[48][0]:0x00000000 /[48][1]:0x00F0F0F0 /[48][2]:0x00000000 /[49][0]:0x02000000 /[49][1]:0x02000000 /[49][2]:0x00000000 /[50][0]:0x00000000 /[50][1]:0x00000000 /[50][2]:0x00000000 /[51][0]:0x00FFFFFF /[51][1]:0x00281414 /[51][2]:0x00000000 /[52][0]:0x01000008 /[52][1]:0x01000005 /[52][2]:0x00000000 /[53][0]:0x01000008 /[53][1]:0x01000005 /[53][2]:0x00000000 /[54][0]:0x01000008 /[54][1]:0x01000005 /[54][2]:0x00000000 /[55][0]:0x01000008 /[55][1]:0x01000005 /[55][2]:0x00000000 /[56][0]:0x01000008 /[56][1]:0x01000005 /[56][2]:0x00000000 /[57][0]:0x01000008 /[57][1]:0x01000005 /[57][2]:0x00000000 /[58][0]:0x01000008 /[58][1]:0x01000005 /[58][2]:0x00000000 /[59][0]:0x01000008 /[59][1]:0x01000005 /[59][2]:0x00000000 /[60][0]:0x01000008 /[60][1]:0x01000005 /[60][2]:0x00000000 /[61][0]:0x01000008 /[61][1]:0x01000005 /[61][2]:0x00000000 / /CurLineColorEx:0x0000F0F0 /RulerColorEx:0x00C88278 /RulerBackEx:0x00281414