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 $language_data = array (
00040 'LANG_NAME' => 'AppleScript',
00041 'COMMENT_SINGLE' => array(1 => '--'),
00042 'COMMENT_MULTI' => array( '(*' => '*)'),
00043 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
00044 'QUOTEMARKS' => array('"',"'"),
00045 'ESCAPE_CHAR' => '\\',
00046 'KEYWORDS' => array(
00047 1 => array(
00048 'script','property','prop','end','copy','to','set','global','local','on','to','of',
00049 'in','given','with','without','return','continue','tell','if','then','else','repeat',
00050 'times','while','until','from','exit','try','error','considering','ignoring','timeout',
00051 'transaction','my','get','put','into','is'
00052 ),
00053 2 => array(
00054 'each','some','every','whose','where','id','index','first','second','third','fourth',
00055 'fifth','sixth','seventh','eighth','ninth','tenth','last','front','back','st','nd',
00056 'rd','th','middle','named','through','thru','before','after','beginning','the'
00057 ),
00058 3 => array(
00059 'close','copy','count','delete','duplicate','exists','launch','make','move','open',
00060 'print','quit','reopen','run','save','saving',
00061 'it','me','version','pi','result','space','tab','anything','case','diacriticals','expansion',
00062 'hyphens','punctuation','bold','condensed','expanded','hidden','italic','outline','plain',
00063 'shadow','strikethrough','subscript','superscript','underline','ask','no','yes','false',
00064 'true','weekday','monday','mon','tuesday','tue','wednesday','wed','thursday','thu','friday',
00065 'fri','saturday','sat','sunday','sun','month','january','jan','february','feb','march',
00066 'mar','april','apr','may','june','jun','july','jul','august','aug','september',
00067 'sep','october','oct','november','nov','december','dec','minutes','hours',
00068 'days','weeks','div','mod','and','not','or','as','contains','equal','equals','isnt'
00069 )
00070 ),
00071 'SYMBOLS' => array(
00072 ')','+','-','^','*','/','&','<','>=','<','<=','=','�'
00073 ),
00074 'CASE_SENSITIVE' => array(
00075 GESHI_COMMENTS => true,
00076 1 => false,
00077 2 => false,
00078 3 => false,
00079 ),
00080 'STYLES' => array(
00081 'KEYWORDS' => array(
00082 1 => 'color: #b1b100;',
00083 2 => 'color: #000000; font-weight: bold;',
00084 3 => 'color: #000066;'
00085 ),
00086 'COMMENTS' => array(
00087 1 => 'color: #808080; font-style: italic;',
00088 'MULTI' => 'color: #808080; font-style: italic;'
00089 ),
00090 'ESCAPE_CHAR' => array(
00091 0 => 'color: #000099; font-weight: bold;'
00092 ),
00093 'BRACKETS' => array(
00094 0 => 'color: #66cc66;'
00095 ),
00096 'STRINGS' => array(
00097 0 => 'color: #ff0000;'
00098 ),
00099 'NUMBERS' => array(
00100 0 => 'color: #cc66cc;'
00101 ),
00102 'METHODS' => array(
00103 1 => 'color: #006600;',
00104 2 => 'color: #006600;'
00105 ),
00106 'SYMBOLS' => array(
00107 0 => 'color: #66cc66;'
00108 ),
00109 'REGEXPS' => array(
00110 0 => 'color: #0000ff;',
00111 4 => 'color: #009999;',
00112 ),
00113 'SCRIPT' => array(
00114 )
00115 ),
00116 'URLS' => array(
00117 3 => ''
00118 ),
00119 'OOLANG' => true,
00120 'OBJECT_SPLITTERS' => array(
00121 1 => ',+-=<>/?^&*'
00122 ),
00123 'REGEXPS' => array(
00124 0 => '[\\$%@]+[a-zA-Z_][a-zA-Z0-9_]*',
00125 4 => '<[a-zA-Z_][a-zA-Z0-9_]*>',
00126 ),
00127 'STRICT_MODE_APPLIES' => GESHI_NEVER,
00128 'SCRIPT_DELIMITERS' => array(
00129 ),
00130 'HIGHLIGHT_STRICT_BLOCK' => array(
00131 )
00132 );
00133
00134 ?>