home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / elvos221.zip / lib / elvis.syn < prev    next >
Text File  |  1998-12-10  |  44KB  |  1,076 lines

  1. # elvis.syn -- stores descriptions of languages for use with ":display syntax"
  2.  
  3. # ANSI C.  Note that ".h" is not listed as a possible file name extension here
  4. # since it could also be C++ code.  The differences between the two are small,
  5. # but if we must guess, then C++ is the better choice because C++ declarations
  6. # use a lot of keywords which are absent from C.
  7. language c
  8. extension .c .ic .ec
  9. keyword auto break case char const continue default delete defined do
  10. keyword double else enum extern far float friend for goto if int long
  11. keyword near register return short signed sizeof static struct switch
  12. keyword typedef union unless unsigned void volatile while
  13. comment //
  14. comment /* */
  15. preprocessor #
  16. prepquote < >
  17. function (
  18. string "
  19. character '
  20. startword _
  21. inword _
  22. other allcaps final_t
  23. #other allcaps final_t initialpunct
  24.  
  25. # C++.  In addition to the extra keywords, it also causes mixed-case words
  26. # which begin with an uppercase letter to be displayed in the "otherfont".
  27. # This is because those names are typically class names.
  28. language c++
  29. extension .C .cxx .cc .cpp .h .H .hxx .hh .hpp
  30. keyword auto bool break case catch char class const const_cast continue default
  31. keyword defined delete do double dynamic_cast else enum extern false far float
  32. keyword friend for goto if inline int long near new operator private protected
  33. keyword public register reinterpret_cast return short signed sizeof static
  34. keyword static_cast struct switch template this throw true try typedef union
  35. keyword unsigned virtual void volatile while
  36. comment //
  37. comment /* */
  38. preprocessor #
  39. prepquote < >
  40. function (
  41. string "
  42. character '
  43. startword _
  44. inword _
  45. operator operator ~!%^&*+|-=[]<>/
  46. other allcaps initialcaps initialpunct final_t
  47.  
  48. # Java.  Note that ".jav" is offered as a possible file name extension for
  49. # folks who're still using MS-DOS or Windows 3.1.  Hopefully nobody will
  50. # ever type in an uppercase .JAV filename.
  51. language java
  52. extension .java .jav
  53. keyword abstract boolean break byte byvalue case cast catch char class
  54. keyword const continue default do double else extends false final finally
  55. keyword float for future generic goto if implements import inner instanceof
  56. keyword int interface long native new null operator outer package private
  57. keyword protected public rest return short static super switch synchronized
  58. keyword this throw throws transient true try var void volatile while
  59. comment    //
  60. comment /* */
  61. function (
  62. string "
  63. character '
  64. startword _
  65. inword _
  66. other allcaps initialcaps
  67.  
  68. # Awk.  This is actually for Thompson Automation's AWK compiler, which is
  69. # somewhat beefier than the standard AWK interpreter.
  70. language tawk awk
  71. extension .awk
  72. keyword BEGIN BEGINFILE END ENDFILE INIT break continue do else for function
  73. keyword global if in local next return while
  74. comment #
  75. function (
  76. string "
  77. regexp /
  78. useregexp (,~
  79. other allcaps
  80.  
  81. # Imakefiles.  This one is interesting because '#' is both the preprocessor
  82. # character and the comment character.  A '#' in the first column is displayed
  83. # as a preprocessor directive, and anywhere else as the start of a comment.
  84. # The '/' character can't appear at the start of a word because that would
  85. # interfere with its use in /*...*/ comments.  Note that this language appears
  86. # before the "make" language, so "Imakefile" files won't be misrecognized as
  87. # Makefiles.
  88. language xmkmf imakefile
  89. extension Imakefile
  90. preprocessor #
  91. comment #
  92. comment /* */
  93. startword .$
  94. inword /.$()_
  95.  
  96. # Makefiles.  Note that file names like "Makefile" & "makefile" are recognized.
  97. # The keywords listed here are actually just common names for pseudo-targets.
  98. # The word characters include anything that's commonly used in a filename.
  99. # Any word followed by a : will be displayed in the functionfont.
  100. language make
  101. extension akefile akefile.in
  102. keyword .PHONY .SUFFIXES .DEFAULT .PRECIOUS .IGNORE .SILENT
  103. keyword .EXPORT_ALL_VARIABLES
  104. keyword all again clean depend distclean install realclean uninstall
  105. comment #
  106. startword /.$
  107. inword /.$()_
  108. function :
  109. other allcaps
  110.  
  111. # Microsoft NMAKE-style makefiles.  Microsoft's NMAKE uses ! to introduce
  112. # preprocessor directives.
  113. language nmake
  114. extension .mak
  115. comment #
  116. preprocessor !
  117. startword \.$
  118. inword \.$()_
  119. function :
  120.  
  121. # PostScript
  122. language postscript ps
  123. extension .ps .eps
  124. keyword add aload and arc arcn arcto array ashow awidthshow begin charpath
  125. keyword clear closepath copy copy copypage def definefont dict div dup end
  126. keyword eq exch exec exit false fill findfont for forall ge get grestore
  127. keyword gsave gt idiv if ifelse kshow le length lineto loop lt makefont
  128. keyword maxlength moveto mul ne neg newpath not or pop put repeat restore
  129. keyword rlineto rmoveto roll rotate round save scale search setgray
  130. keyword setlinewidth show showpage keyword string stroke sub translate true
  131. keyword widthshow xor
  132. string ( )
  133. comment %
  134.  
  135. # Pascal.  Note that Pascal supports two styles of multi-line comments, while
  136. # elvis only permits one multi-line style and many single-line styles.  This
  137. # version uses { } for the multi-line comments, and also pretends that (*
  138. # markes the start of a single-line comment -- elvis won't detect *)
  139. language pascal
  140. extension .p .pas
  141. keyword and array begin boolean case char const delete div do downto else end
  142. keyword false file for function get goto if in input insert integer interactive
  143. keyword keyboard label maxint mod new nil not of or output packed procedure
  144. keyword program put read readln real record repeat reset rewrite seek set
  145. keyword string text then to true type until var while with write writeln
  146. comment { }
  147. comment (*
  148. function (
  149. string '
  150. ignorecase true
  151.  
  152. # Korn shell scripts.  It also tries to format other Bourne-like shell scripts.
  153. # Contributed by Gabriel Zachmann (zach@igd.fhg.de)
  154. # Modified by S.K. to take advantage of new features of elvis
  155. # NOTE: The "elvis.arf" file also checks for "#!/bin/sh" on the first line,
  156. #       and uses this syntax then.  Script names don't need to end with ".sh"
  157. # Added extra words and put in lexical order - Walter Briscoe 1997/06/18
  158. language ksh bash sh shV sh5
  159. extension .sh
  160. keyword $* $@ $# $? $- $$ $! & | ; [ ] < > ( )
  161. keyword alias autoload bg break case cd continue do done echo elif else esac
  162. keyword eval exec exit export false fc fg fi for getopts hash history
  163. keyword if in integer jobs kill let newgrp nohup print pwd r read readonly
  164. keyword select set shift stop suspend test then time times trap type typeset
  165. keyword ulimit umask unalias unset until wait whence while
  166. function (
  167. comment #
  168. startword /?-*!.
  169. inword /?*!.
  170. string `
  171. strnewline empty
  172. character '
  173.  
  174. # Modula-2
  175. # Contributed by Peter Funk (pf@artcom0.north.de)
  176. language modula2
  177. extension .MOD .DEF .mod .def .mi .md
  178. keyword + - * / = := & | <> <= >= .. : ; { } [ ]
  179. keyword AND ARRAY BEGIN BY CASE CONST DEFINITION DIV DO ELSE ELSIF END
  180. keyword EXIT EXPORT FOR FROM IF IMPLEMENTATION IMPORT IN LOOP MOD MODULE
  181. keyword NOT OF OR POINTER PROCEDURE QUALIFIED RECORD REPEAT RETURN SET
  182. keyword THEN TO TYPE UNTIL VAR WHILE WITH
  183. comment (* *)
  184. # Nested comments like (* foo (* bar *) gnu *) are NOT taken into account!
  185. function (
  186. # comment this out, if you don't like it:
  187. font emphasized CONST TYPE VAR MODULE PROCEDURE RETURN EXIT
  188. string "
  189. character '
  190. # you might want to try this out :
  191. # inword ._
  192. other allcaps initialcaps
  193.  
  194. # Perl.
  195. # Original version contributed by Herb Kateley (herb@ke.com).  Another version
  196. # was contributed by Jeff Wang (jeffw@enterprise.advance.com).  What you see
  197. # here is the merger of those two, with other modifications.  The "font normal"
  198. # line exists to prevent $# from being interpreted as a plain dollar sign
  199. # followed by a comment.
  200. language perl  
  201. extension .pl .pm 
  202. keyword BEGIN END CORE __END__ __FILE__ __LINE__ AUTOLOAD DESTROY
  203. keyword abs accept alarm and atan2 bind binmode bless caller chdir chmod
  204. keyword chomp chop chown chr chroot close closedir cmp connect continue cos
  205. keyword crypt dbmclose dbmopen defined delete die do dump each else elsif
  206. keyword endgrent endhostent endnetent endprotoent endpwent endservent eof
  207. keyword eq eval exec exists exit exp fcntl fileno flock for foreach fork
  208. keyword format formline ge getc getgrent getgrgid getgrnam gethostbyaddr
  209. keyword gethostbyname gethostent getlogin getnetbyaddr getnetbyname
  210. keyword getnetent getpeername getpgrp getppid getpriority getprotobyname
  211. keyword getprotobynumber getprotoent getpwent getpwnam getpwuid
  212. keyword getservbyname getservbyport getservent getsockname getsockopt
  213. keyword glob gmtime goto grep gt hex if index int ioctl join keys kill
  214. keyword last lc lcfirst le length link listen local localtime log lstat
  215. keyword lt m map mkdir msgctl msgget msgrcv msgsnd my ne next no not oct
  216. keyword open opendir or ord pack package pipe pop pos print printf push q
  217. keyword qq quotemeta qw qx rand read readdir readline readlink readpipe
  218. keyword recv redo ref rename require reset return reverse rewinddir rindex
  219. keyword rmdir s scalar seek seekdir select semctl semget semop send setgrent
  220. keyword sethostent setnetent setpgrp setpriority setprotoent setpwent
  221. keyword setservent setsockopt shift shmctl shmget shmread shmwrite shutdown
  222. keyword sin sleep socket socketpair sort splice split sprintf sqrt srand
  223. keyword stat study sub substr symlink syscall sysread system syswrite tell
  224. keyword telldir tie time times tr truncate uc ucfirst umask undef unless
  225. keyword unlink unpack unshift untie until use utime values vec wait waitpid
  226. keyword wantarray warn while write x xor y
  227. comment #
  228. function (
  229. startword &_@%$
  230. inword _'#
  231. string "
  232. strnewline empty
  233. character '
  234. regexp /?#:
  235. useregexp if unless while until m (,~&|
  236. useregsub s tr
  237. other allcaps
  238. font e ( ) { }
  239.  
  240. # TCL shell scripts.
  241. # Contributed by Jeff Wang (jeffw@advance.com)
  242. language tcl
  243. extension .tcl
  244. comment #
  245. keyword Balloon ButtonBox Control DirList ExFileSelectBox ExFileSelectDialog
  246. keyword FileEntry HList LabelEntry LabelFrame NoteBook OptionMenu PanedWindow
  247. keyword PopupMenu ScrolledHList ScrolledText ScrolledWindow Select StdButtonBox
  248. keyword after append array auto_execok auto_load auto_mkindex auto_reset bell
  249. keyword bind bindtags break button canvas case catch cd checkbutton clipboard
  250. keyword close common concat constructor continue default destroy destructor
  251. keyword else elseif entry eof error eval exec exit expr file fileevent flush
  252. keyword focus for for_array_keys for_file for_recursive_glob foreach format
  253. keyword frame gets glob global grab history if image in incr info inherit
  254. keyword itcl_class join label lappend lindex linsert list listbox llength loop
  255. keyword lower lrange lreplace lsearch lsort menu menubutton message method open
  256. keyword option pack pid place proc protected public puts pwd radiobutton raise
  257. keyword read regexp regsub rename return scale scan scrollbar seek selection
  258. keyword send set source split string subst switch tell text then time tix tk
  259. keyword tk_popup tkwait toplevel trace unknown unset update uplevel upvar while
  260. keyword winfo wm [ ]
  261. font emphasized proc
  262. function {
  263. startword &$_
  264. inword _
  265. string "
  266. other allcaps
  267.  
  268. # VRML markups.
  269. # Contributed by Jeff Wang (jeffw@advance.com)
  270. language vrml
  271. extension .wrl
  272. comment #
  273. keyword Anchor Appearance AsciiText AudioClip Background Billboard Box
  274. keyword Collision Color ColorInterpolator Cone Coordinate Coordinate3
  275. keyword CoordinateInterpolator Cube Cylinder CylinderSensor DirectionalLight
  276. keyword DiskSensor ElevationGrid Extrusion FALSE Fog FontStyle FontStyle Group
  277. keyword IS ImageTexture IndexedFaceSet IndexedLineSet Info Inline LOD Material
  278. keyword MaterialBinding MatrixTransform MovieTexture NULL NavigationInfo Normal
  279. keyword NormalBinding NormalInterpolator OrientationInterpolator
  280. keyword OrthographicCamera PerspectiveCamera PixelTexture PlaneSensor
  281. keyword PointLight PointSet PositionInterpolator ProximitySensor ROUTE Rotation
  282. keyword ScalarInterpolator Scale Script Separator Shape ShapeHints Sound Sphere
  283. keyword SphereSensor SpotLight Switch TO TRUE Text Texture2 Texture2Transform
  284. keyword TextureCoordinate TextureCoordinate2 TextureTransform TimeSensor
  285. keyword TouchSensor Transform TransformSeparator Translation USE Viewpoint
  286. keyword VisibilitySensor WWWAnchor WWWInline WorldInfo eventIn eventOut
  287. keyword exposedField field
  288. function {
  289. startword &$_
  290. inword _
  291. string [ ]
  292. other allcaps
  293.  
  294. # Quick hack to make diffs use different colors for different lines
  295. # This isn't perfect, but it is useful
  296. language diff
  297. extension .dif .cdi .patch
  298. comment <
  299. comment >
  300. font emphasized >
  301. anchor 1 < >
  302.  
  303. language cdiff patch
  304. extension .cdi .patch .pat
  305. comment +
  306. comment **
  307. comment -
  308. comment !
  309. anchor 1 + - ** !
  310. font fixed !
  311. font emphasized -
  312. font bold + **
  313.  
  314. # Fortran 77
  315. # Contributed by Lois Amoreira (amoreira@ubistf.ubi.pt)
  316. # Comments in F77 are *'s or c's appearing in the 1st column.
  317. # I defined them as "*'"
  318. language fortran77 f77 fortran
  319. extension .f .f77
  320. comment c *'
  321. anchor 1 c *'
  322. keyword .and.  .eq.  .eqv.  .ge.  .gt.  .le.  .lt.  .ne.  .neqv.  .not.  .or.
  323. keyword accept access assign backspace blank block blockdata boolean buffer
  324. keyword call character close common complex continue data data decode define
  325. keyword dimension do double dump dvck else elseif encode end endif entry
  326. keyword equivalence err exit external file find fmt form format function
  327. keyword go goto id if implicit in include integer intrinsic iostat level
  328. keyword logical namelist open out overfl parameter pause pdump precision
  329. keyword print program punch read real rec recl return rewind
  330. keyword save status stop strace subroutine then to type unit unit unknown
  331. keyword write virtual wait
  332. startword .
  333. inword .
  334. string '
  335. function (
  336. ignorecase true
  337.  
  338. # Python source
  339. # Contributed by Dan Fandrich (dan@fch.wimsey.bc.ca)
  340. # Note that there is no perfect way to specify Python's multiline strings here,
  341. # so after the first empty line they may be displayed as program text
  342. language python
  343. extension .py
  344. comment #
  345. # keywords
  346. keyword access and break class continue def del elif else except finally for
  347. keyword from global if import in is lambda not or pass print raise return try
  348. keyword while
  349. # built-in exceptions
  350. keyword AccessError AttributeError ConflictError EOFError
  351. keyword IOError ImportError IndexError KeyError KeyboardInterrupt
  352. keyword MemoryError NameError None OverflowError RuntimeError
  353. keyword SyntaxError SystemError SystemExit TypeError ValueError
  354. keyword ZeroDivisionError
  355. # built-in functions
  356. keyword abs apply callable chr cmp coerce compile delattr
  357. keyword dir divmod eval execfile filter float getattr
  358. keyword globals hasattr hash hex id input int len
  359. keyword locals long map max min oct open ord pow
  360. keyword range raw_input reduce reload repr round setattr
  361. keyword str tuple type vars xrange
  362. # other
  363. keyword exec _ __doc__ __import__ __main__ __name__ None
  364. # special methods
  365. keyword __abs__ __add__ __and__ __bases__ __builtins__ __call__ __class__
  366. keyword __cmp__ __coerce__ __del__ __delattr__ __delitem__ __delslice__
  367. keyword __dict__ __div__ __divmod__ __float__ __getattr__ __getitem__
  368. keyword __getslice__ __hash__ __hex__ __init__ __int__ __invert__ __len__
  369. keyword __long__ __lshift__ __members__ __methods__ __mod__ __mul__ __neg__
  370. keyword __nonzero__ __oct__ __or__ __pos__ __pow__ __repr__ __rshift__
  371. keyword __setattr__ __setitem__ __setslice__ __str__ __sub__ __version__ __xor__
  372. string '
  373. strnewline empty
  374. character "
  375. function (
  376. startword _
  377. inword _
  378.  
  379. # Scheme
  380. # Contributed by Iver Odin Kvello (i.o.kvello@sum.uio.no)
  381. # R4RS Scheme, with keywords from the macro appendix. No functions, 
  382. # doesn't work well with s-exp syntax. Also no chars or constants (beginning
  383. # with #.) 
  384. language scheme
  385. extension .scm .sc
  386. keyword define lambda let let* letrec if cond begin and or case 
  387. keyword => delay do else quasiquote quote set! unquote unquote-splicing
  388. keyword define-syntax syntax-rules syntax let-syntax letrec-syntax 
  389. comment ;
  390. string "
  391. ignorecase true
  392. startword + - . * / < = > ! ? : $ % _ & ~ ^
  393. inword    + - . * / < = > ! ? : $ % _ & ~ ^
  394.  
  395. # HTML
  396. language html
  397. extension .html .htm .HTML .HTM
  398. # Standard tags for HTML 3.2
  399. keyword <a </a <applet </applet <area <b </b <base <basefont <big </big
  400. keyword <blockquote </blockquote <body </body <br <center </center
  401. keyword <cite </cite <code </code <dd <dir </dir <div </div <dl </dl <dt
  402. keyword <em </em <font </font <form </form <h1 </h1 <h2 </h2 <h3 </h3
  403. keyword <h4 </h4 <h5 </h5 <h6 </h6 <head </head <hr <html </html
  404. keyword <i </i <img <input <isindex <kbd </kbd <li <link <map </map
  405. keyword <menu </menu <meta <ol </ol <option <p </p <param <pre </pre
  406. keyword <samp </samp <script </script <select </select <small </small
  407. keyword <strong </strong <style </style <sub </sub <sup </sup <table </table
  408. keyword <td </td <textarea <th </th <title </title <tr </tr <tt </tt <u </u
  409. keyword <ul </ul <var </var >
  410. # Standard parameters for HTML 3.2
  411. font emphasized action= align= alink= alt= background= bgcolor= border=
  412. font emphasized cellpadding= cellspacing= code= codebase= color= cols= colspan=
  413. font emphasized content= coords= enctype= height= href= hspace= http-equiv=
  414. font emphasized link= maxlength= method= name= prompt= rel= rev= rows= rowspan=
  415. font emphasized shape= size= src= text= title= type= usemap= valign= value=
  416. font emphasized vlink= vspace= width=
  417. font emphasized ismap noshade nowrap
  418. # Netscape-specific tags
  419. font fixed <nobr </nobr <wbr
  420. # Part of HTML 3.2, but not supported by Netscape
  421. font fixed <dfn </dfn
  422. # Obsolete or otherwise discouraged
  423. font fixed <xmp </xmp <listing </listing <plaintext </plaintext
  424. font fixed <strike </strike face=
  425. # Standard parameters which would produce too many false highlights
  426. #font emphasized checked multiple selected
  427. startword <
  428. inword /-
  429. comment <! >
  430. function =
  431. character &;
  432. ignorecase true
  433.  
  434. # nroff -man
  435. language man
  436. extension .man .1 .MAN
  437. font emphasized \
  438. preprocessor .
  439.  
  440. # TeX
  441. language tex
  442. extension .tex
  443. keyword LaTeX
  444. comment %
  445. startword \
  446. font fixed \_ \& \{ \} \% \$ \\
  447. keyword & $$ { }
  448. string $
  449. other initialpunct
  450.  
  451. # RTF
  452. language rtf
  453. extension .rtf .RTF
  454. startword \
  455. font fixed \' \* \- \: \\ \_ \{ \| \} \~ \chatn \chdate \chdpa \chdpl \chftn
  456. font fixed \chftnsep \chftnsepc \chpgn \chtime
  457. font emphasized ' * - : _ { | } ~
  458. other initialpunct
  459.  
  460. # Ada 95
  461. # Contributed by Zhu QunYing (zhu@pobox.org.sg)
  462. # some common predefined types are added as keyword after "xor"
  463. language ada ada95
  464. extension .adb .ads .ada
  465. comment --
  466. keyword abort abs abstract accept access aliased all and array at
  467. keyword begin body
  468. keyword case constant
  469. keyword declare delay delta digits do
  470. keyword else elsif end entry exception exit
  471. keyword for function
  472. keyword generic goto
  473. keyword if in is
  474. keyword limited loop
  475. keyword mod
  476. keyword new not null
  477. keyword of or others out
  478. keyword package pragma private procedure protected
  479. keyword raise range record rem renames requeue return reverse
  480. keyword select separate subtype
  481. keyword tagged task terminate then type
  482. keyword until use
  483. keyword when while with
  484. keyword xor
  485. keyword Boolean Character Wide_Character Integer Float Duration File_type
  486. keyword String Wide_String Natural Positive
  487. function (
  488. startword _
  489. inword _'
  490. character '
  491. string "
  492. other allcaps
  493. ignorecase true
  494.  
  495. # ODL (object description files)
  496. # Contributed by David Gottner (dgottner@microsoft.com)
  497. language odl
  498. extension .ODL .odl
  499. keyword boolean char double float int long short void wchar_t
  500. keyword BSTR CURRENCY DATE HRESULT LPSTR LPWSTR SAFEARRAY SCODE VARIANT
  501. keyword IDispatch IUnknown
  502. keyword appobject bindable control default defaultbind displaybind
  503. keyword dllname dual entry helpcontext helpfile helpstring
  504. keyword hidden id in lcid licensed nonextensible odl oleautomation
  505. keyword optional out propget propput propputref public readonly
  506. keyword requestedit restricted retval source string uuid vararg
  507. keyword version
  508. keyword coclass dispinterface enum importlib interface library
  509. keyword methods module properties struct typedef union
  510. comment //
  511. comment /* */
  512. preprocessor #
  513. string "
  514. startword _
  515. inword _
  516. other allcaps initialpunct
  517.  
  518. # Bibtex  
  519. # Contributed by Woody Jin (wjin@cs.uh.edu)
  520. language bib
  521. extension .bib .BIB
  522. font emphasized author year volume number pages month note
  523. font emphasized title publisher series address edition journal
  524. font emphasized booktitle organization howpublished type chapter
  525. font emphasized institution school editor
  526. comment    %
  527. startword @
  528. string "
  529. ignorecase false
  530. other initialpunct
  531. strnewline allowed
  532.  
  533. # This "elvis.syn" file
  534. # Contributed by Woody Jin (wjin@cs.uh.edu)
  535. # Modified by S.K. to take advantage of new features of elvis
  536. language syn
  537. extension elvis.syn ELVIS.SYN
  538. anchor 1 anchor keyword function inword character string other
  539. anchor 1 font ignorecase extension language comment startword operator
  540. anchor 1 strnewline preprocessor regexp useregexp useregsub prepquote
  541. font fixed allcaps initialcaps mixedcaps final_t initialpunct
  542. font fixed true false allowed backslash indent empty
  543. font emphasized normal bold italic emphasized fixed underlined
  544. anchor 6 normal bold italic emphasized fixed underlined
  545. anchor 1 #
  546. comment #
  547. inword _
  548.  
  549. # EX
  550. # Ironically, elvis' syntax coloring method isn't versatile enough to color
  551. # ex syntax.  Still, it can color comments and most keywords; maybe that's
  552. # enough.  The particular variation shown here works okay for aliases.
  553. language ex
  554. extension .ex .exrc .elvisrc elvis.ini elvis.brf elvis.arf elvis.bwf elvis.awf elvis.ali
  555. keyword a ab abbr abbreviate all alias append ar args b bb bbrowse br bre break
  556. keyword browse buffer c ca calc calculate cc cd change chd chdir cl close
  557. keyword co col color copy d delete di dig digraph dis display do e ec echo
  558. keyword edit el else er err errlist erro error ev eval ex f file g global
  559. keyword go goto gu gui h help i if insert j join k l la last le let list lo
  560. keyword local lp lpr m ma mak make map mark me message mk mkexrc move n N new
  561. keyword next Next no normal nu number o open p po pop pre previous print
  562. keyword pu put q qa qall quit r read red redo rew rewind s sN sNext sa saf
  563. keyword safer sall sb sbb sbbrowse sbr sbrowse se set sh shell sl slast sn
  564. keyword sne snew snext so source sp split sre srew srewind st sta stac
  565. keyword stack stag stop subst substitute sus susp suspend t ta tag th then
  566. keyword to try u una unab unabbr unabbreviate unb unbreak undo unm unmap v
  567. keyword ve version vglobal vi visual w wa warning wh while wi window wn
  568. keyword wnext wq wquit write x xit y yank z
  569. anchor ^ " # & ( < = > @ ~
  570. # note that ! is not listed as a keyword because it interferes with alias args
  571. comment "
  572. regexp /?;:
  573. useregsub s
  574. useregexp , g v global vglobal
  575. font fixed !0 !1 !2 !3 !4 !5 !6 !7 !8 !9 !^ !$ !* !< !> !% !! !?
  576. font fixed 'a 'b 'c 'd 'e 'f 'g 'h 'i 'j 'k 'l 'm 'n 'o 'p 'q 'r 's 't 'u 'v
  577. font fixed 'w 'x 'y 'z % $
  578.  
  579. # MASM/TASM style x86 assembly language
  580. # Contributed by Dan Fandrich (dan@fch.wimsey.bc.ca)
  581. language x86 asm assembly
  582. extension .asm .s .def .mac .inc .ASM .DEF
  583. keyword alias align arg assume at byte casemap catstr codeptr codeseg
  584. keyword comm comment common compact const dataptr dataseg db dd df
  585. keyword display dosseg dp dq dt dup dw dword else elseif elseif1 elseif2
  586. keyword elseifb elseifdef elseifdif elseifdifi elseife elseifidn
  587. keyword elseifidni elseifnb elseifndef emul end endif endm endp ends
  588. keyword enter enterd enterw enum eq equ err errif errif1 errif2 errifb
  589. keyword errifdef errifdif errifdifi errife errifidn errifidni errifnb
  590. keyword errifndef error even evendata exitm export extern externdef extrn
  591. keyword far fardata farstack flat fword ge getfield global goto group gt
  592. keyword high highword huge ideal if if1 if2 ifb ifdef ifdif ifdifi ife
  593. keyword ifidn ifnb ifndef ignore include includelib instr invoke irp irpc
  594. keyword jumps label large largestack le leave leaved leavew length
  595. keyword lengthof local locals low lowword lroffset lt macro mask masm
  596. keyword medium memory mod model multerrs name ne near nearstack noemul
  597. keyword nojumps nolocals nomasm51 nomulterrs nosmart nothing nowarn
  598. keyword offset ofidni option org p186 p286 p286n p287 p386 p386n p387
  599. keyword p486 p486n p8086 p8087 page pascal pn087 private proc proto ptr
  600. keyword public publicdll purge pword quirks qword radix record rept
  601. keyword retcode seg segment short size sizeof sizestr small smallstack
  602. keyword smart stack startupcode struc substr subttl sword symtype table
  603. keyword tblinit tblinst tblptr tbyte this tiny title type typedef
  604. keyword udataseg ufardata union use16 use32 usecs useds usees usefs usegs
  605. keyword uses usess vararg version warn wbinvd while width word
  606. # DS pseudo-op conflicts with Data Segment register
  607. #keyword ds 
  608. # Reserved words that conflict with opcodes
  609. #keyword not or shr shl xor
  610. # Words starting with . or % are always highlighted as reserved words
  611. startword .%
  612. comment ;
  613. string "
  614. character '
  615. inword .[]_$
  616. other initialpunct
  617. ignorecase true
  618.  
  619. # MS-DOS batch file
  620. # Contributed by Dan Fandrich (dan@fch.wimsey.bc.ca)
  621. # Only the commands which may be considered part of the batch "language"
  622. # are included as keywords.  Note that ".cmd" is the OS/2 extension for
  623. # batch files.
  624. language batch
  625. extension .bat .BAT .cmd .CMD
  626. keyword break call cd cls echo echo. echo/ echo\ echo+ exit for goto if lh
  627. keyword loadfix loadhigh path pause prompt rem set shift truename verify
  628. keyword @ | < == do errorlevel exist not on off
  629. keyword %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
  630. # environment variable references
  631. string %
  632. # goto labels
  633. preprocessor :
  634. # file redirections
  635. comment >
  636. font underlined >
  637. comment rem
  638. comment ::
  639. anchor 1 ::
  640. inword ._/\\:$!@#^&-
  641. ignorecase true
  642.  
  643. # MS-DOS config.sys file
  644. # Contributed by Walter Briscoe (walter@wbriscoe.demon.co.uk)
  645. language config.sys
  646. extension config.sys
  647. ignorecase true
  648. inword ._/\\:$!@#^&-
  649. comment rem
  650. comment ;
  651. # ; and rem as the first graphic characters on a line start comment lines
  652. keyword Break Buffers Country Device Devicehigh Dos Drivparm Fcbs Files
  653. keyword Include Lastdrive Menucolor Menudefault Menuitem Numlock
  654. keyword Set Shell Stacks Submenu Switches
  655.  
  656. # Windows and LanManager INI files
  657. # Original version contributed by Jay Wardle <jayw@lsid.hp.com>
  658. # Modified by SK to take advantage of new elvis features.
  659. language ini
  660. extension .ini .INI
  661. function =
  662. comment ;
  663. comment [
  664. font emphasized [
  665. anchor 1 [
  666. inword _ $ .
  667.  
  668. # Verilog
  669. language verilog
  670. extension .v .V .vc
  671. keyword always assign attribute case casez cazex deassign default
  672. keyword defparam disable else end endattribute endcase endfunction
  673. keyword endmodule endpackage endprimative endtable endtask event for
  674. keyword force fork forever function if initial join macromodule module
  675. keyword package primative realtime release repeat scalared signed
  676. keyword specparam table task use vectored wait when while
  677. keyword centgrade endspecify femtosecs follow ifnone invert latchhigh
  678. keyword latchlow megahertz microsecs millisecs nanosecs picofarads
  679. keyword picosecs posedge pulselow seconds specify unknown volts
  680. keyword >= >> <= << && || == != === !== ^~ ~^ ~& ~| -> > < ! ~ & | ^
  681. font underlined const highz0 highz1 inout input integer output parameter
  682. font underlined real reg strong0 strong1 supply0 supply1 time tri tri0
  683. font underlined tri1 trireg weak0 weak1 wire
  684. font fixed and begin edge end negedge not or posedge
  685. font emphasized buf bufif0 bufif1 cmos large medium nand nmos nor notif0
  686. font emphasized notif1 pmos pull0 pull1 pulldown pullup rcmos
  687. font emphasized rnmos rpmos rtran rtranif0 rtranif1 small strength tran
  688. font emphasized tranif0 tranif1 triand trior wor xnor xor
  689. comment //
  690. comment /* */
  691. preprocessor `
  692. function (
  693. string "
  694. startword $`\<>
  695. inword _$'=
  696. other allcaps initialpunct
  697. strnewline empty
  698.  
  699. # ACCELL.
  700. language accell
  701. extension .fs .fz .as .az .h
  702. keyword ACCELL ACCELL_TYPE ACTION ADD ADD_ALLOWED ADD_UPDATE AFTER ALL ALTER
  703. keyword AMOUNT AND APPLICATION ARCHIVES ARE ASC ASCENDING AT AUD_ACTION AUD_LABEL
  704. keyword AUD_ON_ENTRY AUTO_ACCEPT AUTO_COMMIT AUTO_EDIT AUTO_FIND AUTO_ZOOM
  705. keyword BEFORE BEGIN BEGIN_SQL BETWEEN BINARY BLINK BOOL BOUNDED BREAK BREAKPOINT
  706. keyword BUTTON BY
  707. keyword CACHED CANCEL_ZOOM CASE CASE_CONVERSION CENTERED CHANGE CHANGES 
  708. keyword CHARACTERISTICS CHOOSE CLEAR CLEAR_ADD_EXP CLEAR_AFTER_AU CLEAR_FIND_EXP
  709. keyword CLEAR_TO_ADD CLEAR_TO_FIND CLICK_ON_FIELD
  710. keyword CLOSE CODE_SECTION
  711. keyword COL COL_ORIGIN COLUMN_INDEX COLUMN_LOWER_BOUNDS COLUMN_UPPER_BOUNDS
  712. keyword COLUMNS COMMAND COMMIT CONTINUE CREATE CUR_FIELD CUR_NEXT_FIELD CURRENT
  713. keyword DATA_TYPE DATE DB_LENGTH DB_TYPE DBMS_ERROR DEFAULT DEFINE DEINSTALL
  714. keyword DELETE DELETE_ALLOWED DESC DESCENDING DIMENSION DISABLE DISABLED DISPLAY
  715. keyword DISPLAY_FORMAT DISPLAY_JUSTIFY DROP
  716. keyword ECHOED ELSE ENABLE END END_SQL ERASE ESTIMATED COUNT ESTIMATING EVENT
  717. keyword EVENTS EXCEPT EXECUTING EXIT EXTERN
  718. keyword FALSE FIELD FIELD_LENGTH FIELD_NAME FILE FILE_PATH FIND FIND_ACTION
  719. keyword FIND_ALLOWED FIND_COUNT FIND_LABEL FIND_PROMPT FINDABLE FIRST FIRST_FIELD
  720. keyword FIRST_RECORD FLOAT FOR FORM FORM_NAME FORMS FROM FUNCTION FUNCTION_KEY
  721. keyword FUNCTIONS FYI_MESSAGE
  722. keyword GRANT GROUP
  723. keyword HANDLER HEIGHT HELP HELP_ARCHIVE HELP_FORM_NAME HELP_FORM_COL
  724. keyword HELP_FORM_ROW
  725. keyword IDENTIFIED IF IN IN_MEMORY INIT INPUT INSERT INSTALL INTO IS
  726. keyword KEY KEYS
  727. keyword LABEL LAST_RECORD LEFT LIKE LIST LIST_INDEX LIST_LOWER_BOUNDS
  728. keyword LIST_UPPER_BOUNDS LOCAL LOCATION LOCKED_IN_CACHE LOWER LOW_INTENSITY
  729. keyword MATRIX MENU_LABEL MULTI_VALUED
  730. keyword NEXT NEXT_FIELD NEXT_FORM NEXT_RECORD NO_CONSISTENCY NONE NOT NULL NUMBER_OF_ARRAYS NUMERIC
  731. keyword OCCURRENCES ON OPERATION OR ORDER ORDERED_BY OUTPUT
  732. keyword PAGE PIPELINE PREVIOUS_FIELD PREV_FORM PREVIOUS_FORM PREVIOUS_RECORD PREVIOUS
  733. keyword QUEUE
  734. keyword RECORD RECORD_CONSISTENCY REF REFERENCE REFRESH REJECT REPAINT REPEAT
  735. keyword REPEATED REQUIRED RESTART RESULT RETRIEVE RETRIEVE_VALUE RETURN REVERSE
  736. keyword REVOKE RIGHT ROLLBACK ROW ROW_INDEX ROW_LOWER_BOUNDS ROW_ORIGIN
  737. keyword ROW_UPPER_BOUNDS ROW_VALUED
  738. keyword SCHEMA SCREEN SEARCH_RANGES SEC SECOND SECONDS SELECT SELECTED
  739. keyword SELECTED_SET_SCROLLBAR SET SET_CONSISTENCY SHLIKE SLOCK
  740. keyword SQL_COLUMN_CONDITION SQL_OPTIONAL_CONDITION SQL_ORDER_BY_CLAUSE
  741. keyword SQL_ORDER_BY_COLUMN SQL_WHERE_CLAUSE START STOP_FOR_INPUT STORE STORED
  742. keyword STRING SWITCH
  743. keyword TAB_STOP TABLE TARGET_FIELD TARGET_TABLE TEXT THEN TIME TIMER TO TRIM
  744. keyword TRUE TX
  745. keyword UNCACHED UNDEFINED UNDERLINE UNKNOWN UNLOCK UNTIL UPDATE UPDATE_ALLOWED
  746. keyword UPDATEABLE UPPER USAGE USE_BASE_WINDOW USERMENU USING
  747. keyword VALUES VIEW VOID
  748. keyword WAIT WHEN WHERE WHILE WIDTH WINDOW_HEIGHT WINDOW_WIDTH WORK WRITE
  749. keyword XLOCK
  750. keyword ZOOM
  751. comment /* */
  752. preprocessor #
  753. prepquote " "
  754. function (
  755. startword
  756. inword _
  757. other initialpunct
  758. string ' '
  759. character '
  760. font e BEGIN END ( )
  761.  
  762. # Objective-C.
  763. # Contributed by David Stes (stes@can.nl)
  764. language objc
  765. extension .m
  766. keyword auto break case char const continue default delete defined do
  767. keyword double else enum extern far float friend for goto if int long
  768. keyword near register return short signed sizeof static struct switch
  769. keyword typedef union unsigned void volatile while
  770. # Objective-C specific
  771. keyword id interface implementation end selector defs
  772. comment //
  773. comment /* */
  774. preprocessor #
  775. prepquote < >
  776. function (
  777. string "
  778. character '
  779. startword _ @
  780. inword _
  781. other allcaps final_t initialpunct
  782.  
  783. # EMACS Lisp
  784. language lisp elisp
  785. extension .el
  786. inword -
  787. font emphasized t nil
  788. keyword and autoload car cdr cons defconst define-key defmacro defun defvar
  789. keyword eq fboundp fset if interactive let list mapcar not or progn put set
  790. keyword setq while
  791. strnewline empty
  792. string "
  793. comment ;
  794.  
  795. # Email messages
  796. language email
  797. inword -:
  798. anchor 1 Received: Message-ID: Message-Id: Date: From: To: Cc: Subject:
  799. anchor 1 References: Reply-To: MIME-Version: Organization:
  800. anchor 1 Content-Type: Content-Length: Content-Transfer-Encoding: Content-ID:
  801. anchor 1 Content-Description: X-Mailer: In-Reply-To: Status: > From
  802. comment >
  803. comment From
  804. font emphasized From
  805.  
  806. # POV-Ray.
  807. # Contributed by Christian Perle (christian.perle@tu-clausthal.de)
  808. language povray
  809. extension .pov .inc
  810. keyword aa_level aa_threshold abs acos acosh adaptive adc_bailout agate
  811. keyword agate_turb all alpha ambient ambient_light angle aperture arc_angle
  812. keyword area_light asc asin asinh assumed_gamma atan atan2 atanh atmosphere
  813. keyword atmospheric_attenuation attenuating average background bicubic_patch
  814. keyword black_hole blob blue blur_samples bounded_by box box_mapping bozo break
  815. keyword brick brick_size brightness brilliance bumps bumpy1 bumpy2 bumpy3
  816. keyword bump_map bump_size camera case caustics ceil checker chr clipped_by
  817. keyword clock color color_map colour colour_map component composite concat cone
  818. keyword confidence conic_sweep constant control0 control1 cos cosh count crackle
  819. keyword crand cube cubic cubic_spline cylinder cylindrical_mapping debug declare
  820. keyword default degrees dents difference diffuse direction disc distance
  821. keyword distance_maximum div dust dust_type eccentricity else emitting end error
  822. keyword error_bound exp exponent fade_distance fade_power falloff falloff_angle
  823. keyword false file_exists filter finish fisheye flatness flip floor focal_point
  824. keyword fog fog_alt fog_offset fog_type frequency gif global_settings glowing
  825. keyword gradient granite gray_threshold green halo height_field hexagon
  826. keyword hf_gray_16 hierarchy hollow hypercomplex if ifdef iff image_map
  827. keyword incidence include int interpolate intersection inverse ior irid
  828. keyword irid_wavelength jitter julia_fractal lambda lathe leopard light_source
  829. keyword linear linear_spline linear_sweep location log looks_like look_at
  830. keyword low_error_factor mandel map_type marble material_map matrix max
  831. keyword max_intersections max_iteration max_trace_level max_value merge mesh
  832. keyword metallic min minimum_reuse mod mortar nearest_count no normal normal_map
  833. keyword no_shadow number_of_waves object octaves off offset omega omnimax on
  834. keyword once onion open orthographic panoramic pattern1 pattern2 pattern3
  835. keyword perspective pgm phase phong phong_size pi pigment pigment_map
  836. keyword planar_mapping plane png point_at poly polygon pot pow ppm precision
  837. keyword prism pwr quadratic_spline quadric quartic quaternion quick_color
  838. keyword quick_colour quilted radial radians radiosity radius rainbow ramp_wave
  839. keyword rand range reciprocal recursion_limit red reflection refraction render
  840. keyword repeat rgb rgbf rgbft rgbt right ripples rotate roughness samples scale
  841. keyword scallop_wave scattering seed shadowless sin sine_wave sinh sky
  842. keyword sky_sphere slice slope_map smooth smooth_triangle sor specular sphere
  843. keyword spherical_mapping spiral spiral1 spiral2 spotlight spotted sqr sqrt
  844. keyword statistics str strcmp strength strlen strlwr strupr sturm substr
  845. keyword superellipsoid switch sys t tan tanh test_camera_1 test_camera_2
  846. keyword test_camera_3 test_camera_4 text texture texture_map tga thickness
  847. keyword threshold tightness tile2 tiles torus track transform translate transmit
  848. keyword triangle triangle_wave true ttf turbulence turb_depth type u
  849. keyword ultra_wide_angle union up use_color use_colour use_index u_steps v val
  850. keyword variance vaxis_rotate vcross vdot version vlength vnormalize
  851. keyword volume_object volume_rendered vol_with_light vrotate v_steps warning
  852. keyword warp water_level waves while width wood wrinkles x y yes z
  853. comment    //
  854. comment /* */
  855. preprocessor #
  856. prepquote < >
  857. function (
  858. string "
  859. inword _
  860. other allcaps
  861.  
  862. # PRO*C
  863. # Contributed by Walter Briscoe (walter@wbriscoe.demon.co.uk)
  864. # pro*c is Oracle's embedded C language. Files in it are precompiled to the C
  865. # language in a fashion analogous to that used for lex and yacc.
  866. # They may also be compiled to C++ (and Java??)
  867. # The language consists of a set of statements which doing the embedding:
  868. # e.g. EXEC SQL CONNECT :access;
  869. # pro*c keywords are case-insensitive but usually expressed using [A-Z]*
  870. # ignorecase true is semi-appropriate but seems best left out.
  871. # This syntax description views pro*c as a layering on c.
  872. language pro*c
  873. extension .PC .pc
  874. keyword auto break case char const continue default delete defined do
  875. keyword double else enum extern far float friend for goto if int long
  876. keyword near register return short signed sizeof static struct switch
  877. keyword typedef union unsigned void volatile while
  878. comment //
  879. comment /* */
  880. preprocessor #
  881. prepquote < >
  882. function (
  883. string "
  884. character '
  885. startword _
  886. inword _
  887. # other allcaps final_t initialpunct
  888. # if ignorecase true applied to following keywords in current language, I could
  889. # model pro*c adequately! However, I think layering is better!
  890. keyword CLOSE COMMIT CONTINUE CURSOR DO EXEC FETCH FOUND HOLD_CURSOR
  891. keyword NO OPEN ORACA ORACLE RELEASE RELEASE_CURSOR
  892. keyword SQL SQLERROR SQLWARNING STOP WORK YES
  893. keyword BEGIN COMMIT DECLARE DISTINCT END INCLUDE INTO MAX MIN OF ROLLBACK ROWID
  894. keyword SECTION SELECT SET SYSDATE UPDATE VARCHAR VALUES WHERE
  895. keyword ACCESS ADD ALL ALTER AND ANY ARRAYLEN AS ASC AUDIT BETWEEN BY
  896. keyword CHAR CHECK CLUSTER COLUMN COMMENT COMPRESS CONNECT CREATE CURRENT
  897. keyword DATE DECIMAL DECODE DEFAULT DELETE DESC DISTINCT DROP
  898. keyword ELSE EXCLUSIVE EXISTS FILE FLOAT FOR FROM GRANT GROUP HAVING
  899. keyword IDENTIFIED IMMEDIATE IN INCREMENT INDEX INITIAL INSERT INTEGER INTERSECT
  900. keyword INTO IS
  901. keyword LEVEL LIKE LONG MAXEXTENTS MINUS MODE MODIFY
  902. keyword NVL NOAUDIT NOCOMPRESS NOT NOTFOUND NOWAIT NULL NUMBER
  903. keyword OF OFFLINE ON ONLINE OPTION OR ORDER PCTFREE PRIOR PRIVILEGES PUBLIC
  904. keyword RAW RENAME RESOURCE REVOKE ROW ROWID ROWLABEL ROWNUM ROWS
  905. keyword SELECT SESSION SET SHARE SIZE SMALLINT SQLBUF START SUCCESSFUL SYNONYM
  906. keyword SYSDATE
  907. keyword TABLE THEN TO TRIGGER
  908. keyword UID UNION UNIQUE UPDATE USER VALIDATE VALUES VARCHAR VARCHAR2 VIEW
  909. keyword WHENEVER WHERE WITH
  910.  
  911. # VHDL: VHSIC Hardware Description Language, IEEE Std1076-1993
  912. # Contributed by Guoyong Huang <huanggy@inethp1.bidc.cn.net>
  913. language vhdl
  914. extension .vhd .vhdl
  915. keyword abs access after alias all and array assert attribute
  916. keyword begin block body buffer bus
  917. keyword case component constant disconnect downto
  918. keyword else elsif end exit file for function
  919. keyword generate generic group guarded if impure in inertial inout is
  920. keyword label library linkage literal loop map mod 
  921. keyword nand new next nor not null of on open or others out
  922. keyword port postponed procedure process pure
  923. keyword range record register reject rem report return rol ror
  924. keyword select severity signal shared sla sll sra srl subtype
  925. keyword then to transport type unaffected units until use variable
  926. keyword wait when while with xnor xor
  927. keyword => ** := /= >= <= <>
  928. font underlined entity architecture package configuration
  929. comment --
  930. function (
  931. string "
  932. startword `\<>
  933. inword _\
  934. other allcaps initialpunct
  935. strnewline empty
  936. ignorecase true
  937.  
  938. #`rptgen' report generator
  939. language rptgen
  940. extension .rg
  941. startword !
  942. keyword from to backwards starting next previous
  943. anchor 1 !array !break !call !continue !else !endfunc !endif !endpipe
  944. anchor 1 !expect !fail !find !for !function !getenv !if !next !param
  945. anchor 1 !pipe !set !while
  946. font emphasized !array !break !call !continue !else !endfunc !endif !endpipe
  947. font emphasized !expect !fail !find !for !function !getenv !if !next !param
  948. font emphasized !pipe !set !while
  949. font fixed # $ @
  950. anchor 1 = !
  951. font bold =
  952. string ""
  953. comment !
  954. comment =
  955.  
  956. # RPT
  957. language RPT
  958. extension .rpt
  959. keyword after amount and avg before begin binary bootm centered col column comb
  960. keyword count date desc detail else end float footer header hour if in input
  961. keyword ldate left length max margin min need newline no not numeric or page
  962. keyword pageno print report set separator skip sort sorted string substr then
  963. keyword time to today top total using where width
  964. comment /*
  965. function (
  966. string ' '
  967. character '
  968. inword _
  969. font e begin end
  970.  
  971. # Miranda
  972. # Contributed by Stefan van den Oord <oord@cs.utwente.nl>
  973. # Note that ".m" is also the extension for Objective-C, so elvis will use the
  974. # Objective-C syntax instead of this one unless you disable Objective-C somehow
  975. language miranda
  976. extension .m
  977. keyword if otherwise char num bool where error take drop takewhile dropwhile
  978. keyword numval shownum foldl foldr hd tl init last True False
  979. startword $
  980. string "
  981. character '
  982. ignorecase false
  983. comment ||
  984. preprocessor %
  985. prepquote "
  986. function (
  987. font b [ ] + - * / # : . = <- & \/ <= >= < >
  988.  
  989.  
  990. # SQL
  991. # This is a combination of different SQL definitions which were contributed by
  992. # Lars Pehrsson <dsr_lpe@dansk-sygeplejeraad.dk> and Stefan van den Oord
  993. # <oord@cs.utwente.nl>.  Any keywords which weren't common to both definitions
  994. # have been moved to "font ephasized" lines.
  995. # SEE ALSO: the "pro*c" entry above (extension .PC .pc)
  996. language sql
  997. extension .sql .SQL
  998. #Common
  999. keyword access add all alter and any as asc begin between by char check
  1000. keyword close cluster column commit connect constraint create current
  1001. keyword cursor database date decimal default delete desc distinct drop
  1002. keyword end exclusive execute exists float for from grant group having in
  1003. keyword index insert integer into is like lock log max min mode modify no
  1004. keyword not null on option or order privileges procedure public release
  1005. keyword rename resource revoke rollback row schema select set share size
  1006. keyword smallint synonym table to union unique update user values varchar
  1007. keyword view where with work
  1008. #PL/SQL only
  1009. keyword allocate analyze archive arraylen audit binary_integer body
  1010. keyword boolean comment compress concat constant continue controlfile
  1011. keyword cost count deallocate declare decode disable do dual else elsif
  1012. keyword exception exec exit explain false fetch file found function goto
  1013. keyword hold_cursor identified if immediate include increment initcap
  1014. keyword initial instr intersect length level link long loop lpad ltrim
  1015. keyword maxextents minus noaudit nocompress notfound nowait number nvl of
  1016. keyword offline online open open-for oraca oracle others out package
  1017. keyword parallel pctfree plan prepare prior profile raise raw recover
  1018. keyword release_cursor replace return role rowid rowlabel rownum rows
  1019. keyword rowtype rpad rtrim savepoint section segment sequence session
  1020. keyword snapshot sql sqlbuf sqlcode sqlerrm sqlerror sqlwarning start
  1021. keyword statement stop storage substr successful sum sysdate system
  1022. keyword tablespace then to_char to_date transaction translate trigger
  1023. keyword true truncate type uid upper validate var varchar2 when whenever
  1024. keyword while yes
  1025. #Lars' SQL only
  1026. font emphasized ansi authorization before buffered byte clustered
  1027. font emphasized clustersize columns committed datetime dba delimiter
  1028. font emphasized dirty disconnect distributions document escape extent
  1029. font emphasized headings high indexes info inner interval isolation
  1030. font emphasized listing load low matches medium money mounting next
  1031. font emphasized optical optimization outer output page pipe read
  1032. font emphasized references repeatable reserve resolution serial
  1033. font emphasized smallfloat some stability statistics status tables temp
  1034. font emphasized text timeout unload unlock wait without
  1035. ignorecase true
  1036. comment /* */
  1037. comment #
  1038. comment --
  1039. string "
  1040. character '
  1041. function (
  1042. startword _
  1043. inword _
  1044.  
  1045. # 4GL
  1046. # Contributed by Lars Pehrsson <dsr_lpe@dansk-sygeplejeraad.dk>
  1047. language 4gl
  1048. extension .4gl .4j
  1049. ignorecase true
  1050. keyword and array attribute auto break by call case char clipped
  1051. keyword close command const continue cursor database date day decimal
  1052. keyword declare default define display div do double before after
  1053. keyword else end execute exit fetch float for foreach hide show
  1054. keyword form function goto if in initialize input is thru
  1055. keyword begin work rollback commit whenever any error stop prompt true false
  1056. keyword integer key let like long mdy mod month menu option name
  1057. keyword not null of open or otherwise on message main globals
  1058. keyword prepare record return returning smallint then to using  today time
  1059. keyword when while window with year between next previous field output
  1060. keyword program notfound hour minute year month day options clear help
  1061. keyword file accept wrap comment line run without defaults at
  1062. # report
  1063. keyword print every row skip top page format last left bottom margin
  1064. keyword first header length lineno pageno report finish start
  1065. # sql
  1066. keyword select from into where matches union exists update insert delete group
  1067. keyword order desc asc set isolation dirty read lock table exclusive mode values
  1068. keyword status having sum temp create
  1069. comment { }
  1070. comment #
  1071. function (
  1072. string "
  1073. character '
  1074. inword _ .
  1075.