" Vim syntax file " Language: J " Maintainer: Bill Lam " Last Change: " 2008 Apr 04 Initial commit " 2009 Feb 13 UPload to jwiki " It is by no means complete. " Send comments, suggestions and requests to the maintainer. if exists("b:current_syntax") finish endif if exists("j_minlines") let b:j_minlines = j_minlines else let b:j_minlines = 15 endif exec "syn sync linebreaks=1 minlines=" . b:j_minlines " jVerb " = < <. <: > >. >: _: + +. +: * *. *: - -. -: % %. %: ^ ^. $ $. $: ~. ~: | |. |: " , ,. ,: ; ;: # #. #: ! /: \: [ [: ] { {. {: {:: }. }: ". ": ? ?. " A. c. C. e. E. i. i: I. j. L. o. p. p: q: r. s: u: x: " _9: _8: _7: _6: _5: _4: _3: _2: _1: 0: 1: 2: 3: 4: 5: 6: 7: 8: 9: " jNoun " a. a: _. _: " jConjuction " ^: . .. .: : :. :: ;. !. !: " ` `: @ @. @: & &. &: &.: d. D. D: H. L: S: T. " jAdverb " ~ / \ /. \. } b. f. M. t. t: syn match jName "\a\w*" syn match jArgument "\<[xymnuv]\.\=\>" contained syn match jNumber "[_0-9][_0-9\.a-zA-Z]*" syn match jConjunction "\." syn match jConjunction ":" syn match jVerb "[-!#$%\*+,;<=>\?[\]^{|]" syn match jConjunction "[\"&@`]" syn match jAdverb "[/\\}~]" syn match jVerb "[-\"#\$%\*+,<>\?^{|}~]\." syn match jConjunction "[!&@;:\.]\." syn match jAdverb "[/\\]\." syn match jVerb "p\.\." syn match jVerb "[-\"#\$%\*+,;<>\?\[{|}~/\\]:" syn match jConjunction "[!&@^\.:]:" syn match jConjunction "&\.:" syn match jVerb "{::" syn match jVerb "_\=\d:" syn match jVerb "[AcCeEiIjLopr]\." syn match jConjunction "[dDHT]\." syn match jAdverb "[bfMt]\." syn match jVerb "[ipqsux]:" syn match jConjunction "[DLS]:" syn match jAdverb "t:" syn match jNoun "[a_][\.:]" syn match jCopula "=[\.:]" syn match jParenthesis "[()]" syn match jControl "\