1<?php
2/*************************************************************************************
3 * cadlisp.php
4 * -----------
5 * Author: Roberto Rossi (rsoftware@altervista.org)
6 * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/blog)
7 * Release Version: 1.0.7.15
8 * CVS Revision Version: $Revision: 1.13.2.5 $
9 * Date Started: 2004/08/30
10 * Last Modified: $Date: 2006/09/23 02:05:46 $
11 *
12 * AutoCAD/IntelliCAD Lisp language file for GeSHi.
13 *
14 * For AutoCAD V.12..2005 and IntelliCAD all versions.
15 *
16 * CHANGES
17 * -------
18 * 2004/11/27 (1.0.1)
19 *  -  Added support for multiple object splitters
20 * 2004/10/27 (1.0.0)
21 *  -  First Release
22 *
23 * TODO (updated 2004/11/27)
24 * -------------------------
25 *
26 *************************************************************************************
27 *
28 *     This file is part of GeSHi.
29 *
30 *   GeSHi is free software; you can redistribute it and/or modify
31 *   it under the terms of the GNU General Public License as published by
32 *   the Free Software Foundation; either version 2 of the License, or
33 *   (at your option) any later version.
34 *
35 *   GeSHi is distributed in the hope that it will be useful,
36 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
37 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
38 *   GNU General Public License for more details.
39 *
40 *   You should have received a copy of the GNU General Public License
41 *   along with GeSHi; if not, write to the Free Software
42 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
43 *
44 ************************************************************************************/
45
46$language_data = array (
47	'LANG_NAME' => 'CAD Lisp',
48	'COMMENT_SINGLE' => array(1 => ";"),
49	'COMMENT_MULTI' => array(";|" => "|;"),
50	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
51	'QUOTEMARKS' => array('"'),
52	'ESCAPE_CHAR' => '\\',
53	'KEYWORDS' => array(
54		1 => array(
55			'abs','acad_colordlg','acad_helpdlg','acad_strlsort','action_tile',
56			'add_list','alert','alloc','and','angle','angtof','angtos','append','apply',
57			'arx','arxload','arxunload','ascii','assoc','atan','atof','atoi','atom',
58			'atoms-family','autoarxload','autoload','Boole','boundp','caddr',
59			'cadr','car','cdr','chr','client_data_tile','close','command','cond',
60			'cons','cos','cvunit','defun','defun-q','defun-q-list-ref',
61			'defun-q-list-set','dictadd','dictnext','dictremove','dictrename',
62			'dictsearch','dimx_tile','dimy_tile','distance','distof','done_dialog',
63			'end_image','end_list','entdel','entget','entlast','entmake',
64			'entmakex','entmod','entnext','entsel','entupd','eq','equal','eval','exit',
65			'exp','expand','expt','fill_image','findfile','fix','float','foreach','function',
66			'gc','gcd','get_attr','get_tile','getangle','getcfg','getcname','getcorner',
67			'getdist','getenv','getfiled','getint','getkword','getorient','getpoint',
68			'getreal','getstring','getvar','graphscr','grclear','grdraw','grread','grtext',
69			'grvecs','handent','help','if','initdia','initget','inters','itoa','lambda','last',
70			'layoutlist','length','list','listp','load','load_dialog','log','logand','logior',
71			'lsh','mapcar','max','mem','member','menucmd','menugroup','min','minusp','mode_tile',
72			'namedobjdict','nentsel','nentselp','new_dialog','nil','not','nth','null',
73			'numberp','open','or','osnap','polar','prin1','princ','print','progn','prompt',
74			'quit','quote','read','read-char','read-line','redraw','regapp','rem','repeat',
75			'reverse','rtos','set','set_tile','setcfg','setenv','setfunhelp','setq','setvar',
76			'setview','sin','slide_image','snvalid','sqrt','ssadd','ssdel','ssget','ssgetfirst',
77			'sslength','ssmemb','ssname','ssnamex','sssetfirst','start_dialog','start_image',
78			'start_list','startapp','strcase','strcat','strlen','subst','substr','t','tablet',
79			'tblnext','tblobjname','tblsearch','term_dialog','terpri','textbox','textpage',
80			'textscr','trace','trans','type','unload_dialog','untrace','vector_image','ver',
81			'vports','wcmatch','while','write-char','write-line','xdroom','xdsize','zerop',
82			'vl-acad-defun','vl-acad-undefun','vl-arx-import','vlax-3D-point',
83			'vlax-add-cmd','vlax-create-object','vlax-curve-getArea',
84			'vlax-curve-getClosestPointTo','vlax-curve-getClosestPointToProjection',
85			'vlax-curve-getDistAtParam','vlax-curve-getDistAtPoint',
86			'vlax-curve-getEndParam','vlax-curve-getEndPoint',
87			'vlax-curve-getFirstDeriv','vlax-curve-getParamAtDist',
88			'vlax-curve-getParamAtPoint','vlax-curve-getPointAtDist',
89			'vlax-curve-getPointAtParam','vlax-curve-getSecondDeriv',
90			'vlax-curve-getStartParam','vlax-curve-getStartPoint',
91			'vlax-curve-isClosed','vlax-curve-isPeriodic','vlax-curve-isPlanar',
92			'vlax-dump-object','vlax-erased-p','vlax-for','vlax-get-acad-object',
93			'vlax-get-object','vlax-get-or-create-object','vlax-get-property',
94			'vlax-import-type-library','vlax-invoke-method','vlax-ldata-delete',
95			'vlax-ldata-get','vlax-ldata-list','vlax-ldata-put','vlax-ldata-test',
96			'vlax-make-safearray','vlax-make-variant','vlax-map-collection',
97			'vlax-method-applicable-p','vlax-object-released-p','vlax-product-key',
98			'vlax-property-available-p','vlax-put-property','vlax-read-enabled-p',
99			'vlax-release-object','vlax-remove-cmd','vlax-safearray-fill',
100			'vlax-safearray-get-dim','vlax-safearray-get-element',
101			'vlax-safearray-get-l-bound','vlax-safearray-get-u-bound',
102			'vlax-safearray-put-element','vlax-safearray-type','vlax-tmatrix',
103			'vlax-typeinfo-available-p','vlax-variant-change-type',
104			'vlax-variant-type','vlax-variant-value','vlax-write-enabled-p',
105			'vl-bb-ref','vl-bb-set','vl-catch-all-apply','vl-catch-all-error-message',
106			'vl-catch-all-error-p','vl-cmdf','vl-consp','vl-directory-files','vl-doc-export',
107			'vl-doc-import','vl-doc-ref','vl-doc-set','vl-every','vl-exit-with-error',
108			'vl-exit-with-value','vl-file-copy','vl-file-delete','vl-file-directory-p',
109			'vl-filename-base','vl-filename-directory','vl-filename-extension',
110			'vl-filename-mktemp','vl-file-rename','vl-file-size','vl-file-systime',
111			'vl-get-resource','vlisp-compile','vl-list-exported-functions',
112			'vl-list-length','vl-list-loaded-vlx','vl-load-all','vl-load-com',
113			'vl-load-reactors','vl-member-if','vl-member-if-not','vl-position',
114			'vl-prin1-to-string','vl-princ-to-string','vl-propagate','vlr-acdb-reactor',
115			'vlr-add','vlr-added-p','vlr-beep-reaction','vlr-command-reactor',
116			'vlr-current-reaction-name','vlr-data','vlr-data-set',
117			'vlr-deepclone-reactor','vlr-docmanager-reactor','vlr-dwg-reactor',
118			'vlr-dxf-reactor','vlr-editor-reactor','vl-registry-delete',
119			'vl-registry-descendents','vl-registry-read','vl-registry-write',
120			'vl-remove','vl-remove-if','vl-remove-if-not','vlr-insert-reactor',
121			'vlr-linker-reactor','vlr-lisp-reactor','vlr-miscellaneous-reactor',
122			'vlr-mouse-reactor','vlr-notification','vlr-object-reactor',
123			'vlr-owner-add','vlr-owner-remove','vlr-owners','vlr-pers','vlr-pers-list',
124			'vlr-pers-p','vlr-pers-release','vlr-reaction-names','vlr-reactions',
125			'vlr-reaction-set','vlr-reactors','vlr-remove','vlr-remove-all',
126			'vlr-set-notification','vlr-sysvar-reactor','vlr-toolbar-reactor',
127			'vlr-trace-reaction','vlr-type','vlr-types','vlr-undo-reactor',
128			'vlr-wblock-reactor','vlr-window-reactor','vlr-xref-reactor',
129			'vl-some','vl-sort','vl-sort-i','vl-string-elt','vl-string-left-trim',
130			'vl-string-mismatch','vl-string-position','vl-string-right-trim',
131			'vl-string-search','vl-string-subst','vl-string-translate','vl-string-trim',
132			'vl-symbol-name','vl-symbolp','vl-symbol-value','vl-unload-vlx','vl-vbaload',
133			'vl-vbarun','vl-vlx-loaded-p'
134			)
135		),
136	'SYMBOLS' => array(
137		'(', ')', '{', '}', '[', ']', '!', '%', '^', '&', '/','+','-','*','=','<','>'
138		),
139	'CASE_SENSITIVE' => array(
140		GESHI_COMMENTS => true,
141		1 => false
142		),
143	'STYLES' => array(
144		'KEYWORDS' => array(
145			1 => 'color: #b1b100;'
146			),
147		'COMMENTS' => array(
148			1 => 'color: #808080; font-style: italic;',
149			'MULTI' => 'color: #808080; font-style: italic;'
150			),
151		'ESCAPE_CHAR' => array(
152			0 => 'color: #000099; font-weight: bold;'
153			),
154		'BRACKETS' => array(
155			0 => 'color: #66cc66;'
156			),
157		'STRINGS' => array(
158			0 => 'color: #ff0000;'
159			),
160		'NUMBERS' => array(
161			0 => 'color: #cc66cc;'
162			),
163		'METHODS' => array(
164			),
165		'SYMBOLS' => array(
166			0 => 'color: #66cc66;'
167			),
168		'REGEXPS' => array(
169			),
170		'SCRIPT' => array(
171			)
172		),
173	'URLS' => array(
174		),
175	'OOLANG' => false,
176	'OBJECT_SPLITTERS' => array(
177		),
178	'REGEXPS' => array(
179		),
180	'STRICT_MODE_APPLIES' => GESHI_NEVER,
181	'SCRIPT_DELIMITERS' => array(
182		),
183	'HIGHLIGHT_STRICT_BLOCK' => array(
184		)
185);
186
187?>