A tumblelog CMS built on AJAX, PHP and MySQL.

cadlisp.php 8.4KB

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