/contrib/groff/contrib/mom/examples/elvis_syntax

https://bitbucket.org/freebsd/freebsd-head/ · #! · 90 lines · 82 code · 8 blank · 0 comment · 0 complexity · ce2dcfaac6ee6702de67fea3789770d7 MD5 · raw file

  1. #Mom
  2. language mom
  3. extension .mom .tmac
  4. startword .
  5. color startword normal
  6. inword _.'
  7. color inword normal
  8. other initialpunct
  9. mostly normal
  10. backslash none
  11. color args like fixed
  12. color braces like char
  13. color brackets like underlined
  14. color chars like emphasized
  15. color decimals like number
  16. color ellipsis normal
  17. color escapes like keyword
  18. color math like cursor
  19. color misc like string
  20. color operators like string
  21. color parens like comment
  22. color reg_string like math
  23. color tmac_escapes like keyword
  24. color single_slash like char
  25. font args DA DE EN ES FR IT NL NO PT SV
  26. font args DEFAULT CHAPTER NAMED LETTER
  27. font args TYPESET TYPEWRITE
  28. font args FINAL DRAFT
  29. font args BLOCK QUAD
  30. font args LEFT RIGHT CENTER CENTRE JUSTIFY TOP BOTTOM L R C J
  31. font args OFF QUIT END EXIT DONE NO ALL
  32. font args PAGE NUMBER STAR
  33. font args LETTER LEGAL EXECUTIVE LEDGER TABLOID QUARTO FOLIO
  34. font args 10x14 A3 A4 A5 B4 B5
  35. font args SINGLESPACE
  36. font args FACTOR
  37. font args DASH BULLET ALPHA DIGIT USER
  38. font args RGB CYM CMYK GRAY GREY
  39. font args COND CONDX EXT EXTX SUP SUPX CONDSUP CONDSUPX EXTSUP EXTSUPX
  40. font args BOLDER BOLDERX SLANT SLANTX
  41. font args UP DOWN BCK FWD BU BP FU FP
  42. font args ROM IT BD BDI PREV
  43. font args ST
  44. font args SUSPEND RESUME
  45. prefix { \{ \{\
  46. font braces { \{ \{\
  47. prefix [ ]
  48. font brackets [ ]
  49. prefix \(bu \(co \(ct \(de \(dg \(di \(em \(en \(mu \(pl \(rg \(sc \(sq \(lq \(rq
  50. font chars \(bu \(co \(ct \(de \(dg \(di \(em \(en \(mu \(pl \(rg \(sc \(sq \(lq \(rq
  51. prefix \(14 \(12 \(34 \(+-
  52. font chars \(14 \(12 \(34 \(+-
  53. prefix \fR \fB \fI \fP \f0 \f1 \f2 \f3
  54. font chars \fR \fB \fI \fP \f0 \f1 \f2 \f3
  55. prefix .0 .1 .2 .3 .4 .5 .6 .7 .8 .9
  56. font decimals . .0 .1 .2 .3 .4 .5 .6 .7 .8 .9
  57. prefix \/ \/. \/? \/! \/, \/; \/:
  58. font escapes \/ \/. \/? \/! \/, \/; \/:
  59. prefix \, \,. \,? \,! \,, \,; \,:
  60. font escapes \, \,. \,? \,! \,, \,; \,:
  61. prefix \~ \0 \: \| \^ \& \% \!
  62. font escapes \~ \0 \: \| \^ \& \% \!
  63. prefix \b \c \C \d \D \e \f \f( \h \l \L \p \r \s \s+ \s- \S \u \v \w
  64. font escapes \b \c \C \d \D \e \f \f( \h \l \L \p \r \s \s+ \s- \S \u \v \w
  65. prefix ...
  66. font ellipsis ...
  67. prefix + - * / = == < > <= >= <? >? %
  68. font math + - * / = == < > <= >= <? >? %
  69. prefix |
  70. font misc |
  71. prefix ! : &
  72. font operators ! : &
  73. prefix ( )
  74. font parens ( )
  75. prefix # * $
  76. font reg_string # * $
  77. prefix \n \* \[
  78. font single_slash \n \* \[
  79. prefix \\n \\* \\$
  80. font tmac_escapes \\n \\* \\$
  81. comment \#
  82. comment \"