2 /*************************************************************************************
5 * Author: Stephan Klimek (http://www.initware.org)
6 * Copyright: Stephan Klimek (http://www.initware.org)
7 * Release Version: 1.0.7.19
8 * Date Started: 2005/07/20
10 * AppleScript language file for GeSHi.
16 * -------------------------
17 * URL settings to references
19 **************************************************************************************
21 * This file is part of GeSHi.
23 * GeSHi is free software; you can redistribute it and/or modify
24 * it under the terms of the GNU General Public License as published by
25 * the Free Software Foundation; either version 2 of the License, or
26 * (at your option) any later version.
28 * GeSHi is distributed in the hope that it will be useful,
29 * but WITHOUT ANY WARRANTY; without even the implied warranty of
30 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31 * GNU General Public License for more details.
33 * You should have received a copy of the GNU General Public License
34 * along with GeSHi; if not, write to the Free Software
35 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
37 ************************************************************************************/
39 $language_data = array (
40 'LANG_NAME' => 'AppleScript',
41 'COMMENT_SINGLE' => array(1 => '--'),
42 'COMMENT_MULTI' => array( '(*' => '*)'),
43 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE
,
44 'QUOTEMARKS' => array('"',"'"),
45 'ESCAPE_CHAR' => '\\',
48 'script','property','prop','end','copy','to','set','global','local','on','to','of',
49 'in','given','with','without','return','continue','tell','if','then','else','repeat',
50 'times','while','until','from','exit','try','error','considering','ignoring','timeout',
51 'transaction','my','get','put','into','is'
54 'each','some','every','whose','where','id','index','first','second','third','fourth',
55 'fifth','sixth','seventh','eighth','ninth','tenth','last','front','back','st','nd',
56 'rd','th','middle','named','through','thru','before','after','beginning','the'
59 'close','copy','count','delete','duplicate','exists','launch','make','move','open',
60 'print','quit','reopen','run','save','saving',
61 'it','me','version','pi','result','space','tab','anything','case','diacriticals','expansion',
62 'hyphens','punctuation','bold','condensed','expanded','hidden','italic','outline','plain',
63 'shadow','strikethrough','subscript','superscript','underline','ask','no','yes','false',
64 'true','weekday','monday','mon','tuesday','tue','wednesday','wed','thursday','thu','friday',
65 'fri','saturday','sat','sunday','sun','month','january','jan','february','feb','march',
66 'mar','april','apr','may','june','jun','july','jul','august','aug','september',
67 'sep','october','oct','november','nov','december','dec','minutes','hours',
68 'days','weeks','div','mod','and','not','or','as','contains','equal','equals','isnt'
72 ')','+','-','^','*','/','&','<','>=','<','<=','=','�'
74 'CASE_SENSITIVE' => array(
75 GESHI_COMMENTS
=> true
,
82 1 => 'color: #b1b100;',
83 2 => 'color: #000000; font-weight: bold;',
84 3 => 'color: #000066;'
87 1 => 'color: #808080; font-style: italic;',
88 'MULTI' => 'color: #808080; font-style: italic;'
90 'ESCAPE_CHAR' => array(
91 0 => 'color: #000099; font-weight: bold;'
94 0 => 'color: #66cc66;'
97 0 => 'color: #ff0000;'
100 0 => 'color: #cc66cc;'
103 1 => 'color: #006600;',
104 2 => 'color: #006600;'
107 0 => 'color: #66cc66;'
110 0 => 'color: #0000ff;',
111 4 => 'color: #009999;',
120 'OBJECT_SPLITTERS' => array(
121 1 => ',+-=<>/?^&*'
124 0 => '[\\$%@]+[a-zA-Z_][a-zA-Z0-9_]*',
125 4 => '<[a-zA-Z_][a-zA-Z0-9_]*>',
127 'STRICT_MODE_APPLIES' => GESHI_NEVER
,
128 'SCRIPT_DELIMITERS' => array(
130 'HIGHLIGHT_STRICT_BLOCK' => array(