PageRenderTime 20ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

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