00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045 $language_data = array (
00046 'LANG_NAME' => 'Lua',
00047 'COMMENT_SINGLE' => array(1 => "--"),
00048 'COMMENT_MULTI' => array('--[[' => ']]'),
00049 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
00050 'QUOTEMARKS' => array('"'),
00051 'ESCAPE_CHAR' => '\\',
00052 'KEYWORDS' => array(
00053 1 => array(
00054 'and','break','do','else','elseif','end','false','for','function','if',
00055 'in','local','nil','not','or','repeat','return','then','true','until','while',
00056 '_VERSION','assert','collectgarbage','dofile','error','gcinfo','loadfile','loadstring',
00057 'print','tonumber','tostring','type','unpack',
00058 '_ALERT','_ERRORMESSAGE','_INPUT','_PROMPT','_OUTPUT',
00059 '_STDERR','_STDIN','_STDOUT','call','dostring','foreach','foreachi','getn','globals','newtype',
00060 'rawget','rawset','require','sort','tinsert','tremove',
00061 'abs','acos','asin','atan','atan2','ceil','cos','deg','exp',
00062 'floor','format','frexp','gsub','ldexp','log','log10','max','min','mod','rad','random','randomseed',
00063 'sin','sqrt','strbyte','strchar','strfind','strlen','strlower','strrep','strsub','strupper','tan',
00064 'openfile','closefile','readfrom','writeto','appendto',
00065 'remove','rename','flush','seek','tmpfile','tmpname','read','write',
00066 'clock','date','difftime','execute','exit','getenv','setlocale','time',
00067 '_G','getfenv','getmetatable','ipairs','loadlib','next','pairs','pcall',
00068 'rawegal','rawget','rawset','require','setfenv','setmetatable','xpcall',
00069 'string.byte','string.char','string.dump','string.find','string.len',
00070 'string.lower','string.rep','string.sub','string.upper','string.format','string.gfind','string.gsub',
00071 'table.concat','table.foreach','table.foreachi','table.getn','table.sort','table.insert','table.remove','table.setn',
00072 'math.abs','math.acos','math.asin','math.atan','math.atan2','math.ceil','math.cos','math.deg','math.exp',
00073 'math.floor','math.frexp','math.ldexp','math.log','math.log10','math.max','math.min','math.mod',
00074 'math.pi','math.rad','math.random','math.randomseed','math.sin','math.sqrt','math.tan',
00075 'coroutine.create','coroutine.resume','coroutine.status',
00076 'coroutine.wrap','coroutine.yield',
00077 'io.close','io.flush','io.input','io.lines','io.open','io.output','io.read','io.tmpfile','io.type','io.write',
00078 'io.stdin','io.stdout','io.stderr',
00079 'os.clock','os.date','os.difftime','os.execute','os.exit','os.getenv','os.remove','os.rename',
00080 'os.setlocale','os.time','os.tmpname',
00081 'string','table','math','coroutine','io','os','debug'
00082 )
00083 ),
00084 'SYMBOLS' => array(
00085 '(', ')', '{', '}', '!', '@', '%', '&', '*', '|', '/', '<', '>', '=', ';'
00086 ),
00087 'CASE_SENSITIVE' => array(
00088 GESHI_COMMENTS => true,
00089 1 => true
00090 ),
00091 'STYLES' => array(
00092 'KEYWORDS' => array(
00093 1 => 'color: #b1b100;'
00094 ),
00095 'COMMENTS' => array(
00096 1 => 'color: #808080; font-style: italic;',
00097 'MULTI' => 'color: #808080; font-style: italic;'
00098 ),
00099 'ESCAPE_CHAR' => array(
00100 0 => 'color: #000099; font-weight: bold;'
00101 ),
00102 'BRACKETS' => array(
00103 0 => 'color: #66cc66;'
00104 ),
00105 'STRINGS' => array(
00106 0 => 'color: #ff0000;'
00107 ),
00108 'NUMBERS' => array(
00109 0 => 'color: #cc66cc;'
00110 ),
00111 'METHODS' => array(
00112 0 => 'color: #b1b100;'
00113 ),
00114 'SYMBOLS' => array(
00115 0 => 'color: #66cc66;'
00116 ),
00117 'REGEXPS' => array(
00118 ),
00119 'SCRIPT' => array(
00120 )
00121 ),
00122 'OOLANG' => false,
00123 'OBJECT_SPLITTERS' => array(
00124 ),
00125 'REGEXPS' => array(
00126 ),
00127 'STRICT_MODE_APPLIES' => GESHI_NEVER,
00128 'SCRIPT_DELIMITERS' => array(
00129 ),
00130 'HIGHLIGHT_STRICT_BLOCK' => array(
00131 )
00132 );
00133
00134 ?>