| 1 |
|
| 2 |
:alectryon/pygments/coq/cmd: Elpi Command Tactic Program Accumulate Typecheck Export Db Query Trace Bound Steps |
| 3 |
:alectryon/pygments/coq/tacn: elpi |
| 4 |
|
| 5 |
.. role:: elpi-api(ghref) |
| 6 |
:pattern: ^(% \[$name|(external )?(pred|func) $name) |
| 7 |
|
| 8 |
.. role:: lib(elpi-api) |
| 9 |
:src: LPCIC coq-elpi master elpi/coq-lib.elpi |
| 10 |
|
| 11 |
.. role:: lib-common(elpi-api) |
| 12 |
:src: LPCIC coq-elpi master elpi/coq-lib-common.elpi |
| 13 |
|
| 14 |
.. role:: libred(elpi-api) |
| 15 |
:src: LPCIC coq-elpi master elpi/elpi-reduction.elpi |
| 16 |
|
| 17 |
.. role:: libtac(elpi-api) |
| 18 |
:replace: coq\.ltac\. |
| 19 |
:src: LPCIC coq-elpi master elpi/elpi-ltac.elpi |
| 20 |
|
| 21 |
.. role:: builtin(elpi-api) |
| 22 |
:src: LPCIC coq-elpi master builtin-doc/coq-builtin.elpi |
| 23 |
|
| 24 |
.. role:: builtin-synterp(elpi-api) |
| 25 |
:src: LPCIC coq-elpi master builtin-doc/coq-builtin-synterp.elpi |
| 26 |
|
| 27 |
.. role:: stdlib(elpi-api) |
| 28 |
:replace: std\. |
| 29 |
:src: LPCIC coq-elpi master builtin-doc/elpi-builtin.elpi |
| 30 |
|
| 31 |
.. role:: stdlibfull(elpi-api) |
| 32 |
:src: LPCIC coq-elpi master builtin-doc/elpi-builtin.elpi |
| 33 |
|
| 34 |
.. role:: elpi-type(ghref) |
| 35 |
:pattern: ^(kind $name|typeabbrev $name|(external )?symbol $name) |
| 36 |
|
| 37 |
.. role:: type(elpi-type) |
| 38 |
:src: LPCIC coq-elpi master builtin-doc/coq-builtin.elpi |
| 39 |
|
| 40 |
.. role:: libtype(elpi-type) |
| 41 |
:src: LPCIC coq-elpi master elpi/coq-lib.elpi |
| 42 |
|
| 43 |
.. role:: libtype-common(elpi-type) |
| 44 |
:src: LPCIC coq-elpi master elpi/coq-lib-common.elpi |
| 45 |
|
| 46 |
.. role:: stdtype(elpi-type) |
| 47 |
:src: LPCIC coq-elpi master builtin-doc/elpi-builtin.elpi |
| 48 |
|
| 49 |
|
| 50 |
.. role:: elpi-constructor(ghref) |
| 51 |
:pattern: ^(type $name|(external )?symbol $name) |
| 52 |
|
| 53 |
.. role:: constructor(elpi-constructor) |
| 54 |
:src: LPCIC coq-elpi master builtin-doc/coq-builtin.elpi |
| 55 |
|
| 56 |
.. role:: stdconstructor(elpi-constructor) |
| 57 |
:src: LPCIC coq-elpi master builtin-doc/elpi-builtin.elpi |
| 58 |
|
| 59 |
.. role:: elpi-macro(ghref) |
| 60 |
:pattern: ^macro $name |
| 61 |
|
| 62 |
.. role:: macro(elpi-macro) |
| 63 |
:src: LPCIC coq-elpi master builtin-doc/coq-builtin.elpi |
| 64 |
|
| 65 |
.. role:: e(code) |
| 66 |
:language: elpi |
| 67 |
|
| 68 |
.. role:: elpi-ns(ghref) |
| 69 |
:pattern: ^namespace $name |
| 70 |
|
| 71 |
.. role:: stdlibns(elpi-ns) |
| 72 |
:src: LPCIC coq-elpi master builtin-doc/elpi-builtin.elpi |
| 73 |
|
| 74 |
.. raw:: html |
| 75 |
|
| 76 |
<script> |
| 77 |
var style = document.createElement('style'); |
| 78 |
style.textContent = ` |
| 79 |
table.docinfo { |
| 80 |
border-top: none; |
| 81 |
border-bottom: none; |
| 82 |
margin: auto; |
| 83 |
} |
| 84 |
#alectryon-toggle-0 { |
| 85 |
display: none; |
| 86 |
} |
| 87 |
label[for="alectryon-toggle-0"] { |
| 88 |
display: none; |
| 89 |
} |
| 90 |
.alectryon-io { |
| 91 |
border-left-style: dotted; |
| 92 |
border-left-color: lightgrey; |
| 93 |
padding-left: 1em; |
| 94 |
margin-left: 1em; |
| 95 |
} |
| 96 |
pre.alectryon-block { |
| 97 |
padding-left: 1em; |
| 98 |
} |
| 99 |
label.alectryon-input.alectryon-failed { |
| 100 |
text-decoration: red wavy underline; |
| 101 |
} |
| 102 |
.alectryon-io label.alectryon-input::after , .alectryon-banner .alectryon-bubble::before { |
| 103 |
content: ''; |
| 104 |
background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 3.704 3.704' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill-rule='evenodd' stroke='%23000' stroke-width='.264'%3E%3Cpath d='M.794.934h2.115M.794 1.463h1.455M.794 1.992h1.852'/%3E%3C/g%3E%3Cpath d='M.132.14v2.646h.794v.661l.926-.661h1.72V.14z' fill='none' stroke='%23000' stroke-width='.265'/%3E%3C/svg%3E") top right no-repeat; |
| 105 |
height: 14px; |
| 106 |
width: 14px; |
| 107 |
border-style: none; |
| 108 |
border-radius: 0px; |
| 109 |
} |
| 110 |
code.coq , code.elpi { |
| 111 |
border-style: solid; |
| 112 |
border-color: lightgrey; |
| 113 |
border-width: 0.1em; |
| 114 |
padding: 0.2em 0.3em 0.2em 0.3em; |
| 115 |
border-radius: 0.5em |
| 116 |
} |
| 117 |
body { |
| 118 |
line-height: 2; |
| 119 |
} |
| 120 |
div.warning , div.important, div.note, div.tip { |
| 121 |
border-style: solid; |
| 122 |
border-color: lightgrey; |
| 123 |
border-width: 0.1em; |
| 124 |
border-radius: 0.5em |
| 125 |
} |
| 126 |
.ghref { |
| 127 |
cursor: help; |
| 128 |
text-decoration: underline dotted; |
| 129 |
font-family: 'Iosevka Slab Web', 'Iosevka Web', 'Iosevka Slab', 'Iosevka', 'Fira Code', monospace; |
| 130 |
font-feature-settings: "XV00" 1; /* Use Coq ligatures when Iosevka is available */ |
| 131 |
line-height: initial; |
| 132 |
} |
| 133 |
|
| 134 |
.elpi { |
| 135 |
font-family: 'Iosevka Slab Web', 'Iosevka Web', 'Iosevka Slab', 'Iosevka', 'Fira Code', monospace; |
| 136 |
font-feature-settings: "XV00" 1; /* Use Coq ligatures when Iosevka is available */ |
| 137 |
} |
| 138 |
|
| 139 |
.highlight .-ElpiFunction , .highlight .n-ElpiFunction { color: #795E26 } |
| 140 |
.highlight .-ElpiVariable , .highlight .n-ElpiVariable { color: #0000ff } |
| 141 |
.highlight .k-ElpiKeyword { color: #AF00DB } |
| 142 |
.highlight .k-ElpiMode { color: #811f3f } |
| 143 |
.highlight .m-ElpiInteger { color: #098658 } |
| 144 |
.highlight .si { color: rgb(94, 93, 93) } |
| 145 |
|
| 146 |
.elpi .n-ElpiFunction { color: #795E26 } |
| 147 |
.elpi .n-ElpiVariable { color: #0000ff } |
| 148 |
.elpi .k-ElpiKeyword { color: #AF00DB } |
| 149 |
.elpi .k-ElpiMode { color: #811f3f } |
| 150 |
.elpi .m-ElpiInteger { color: #098658 } |
| 151 |
.elpi .s2 { color: #a31515 } |
| 152 |
.elpi .c { color: #008000 } |
| 153 |
.elpi .kt { color: #2b91af } |
| 154 |
.elpi .si { color: rgb(94, 93, 93) } |
| 155 |
|
| 156 |
.admonition-title:after { content: ":" } |
| 157 |
.admonition-title { display: inline; margin-right: 0.5em } |
| 158 |
.admonition-title + p { display: inline } |
| 159 |
|
| 160 |
.important .admonition-title { color: rgb(197, 70, 91) } |
| 161 |
.important { background-color: rgb(272, 237, 243) } |
| 162 |
|
| 163 |
.note .admonition-title { color: rgb(42, 134, 57) } |
| 164 |
.note { background-color: rgb(222, 247, 222); } |
| 165 |
|
| 166 |
h1 { |
| 167 |
font-size: 28px; |
| 168 |
font-weight: 500; |
| 169 |
letter-spacing: 0; |
| 170 |
line-height: 1.5em; |
| 171 |
padding-bottom: 15px; |
| 172 |
position: relative; |
| 173 |
font-family: "Gill Sans Extrabold", sans-serif; |
| 174 |
} |
| 175 |
h1:before { |
| 176 |
content: ""; |
| 177 |
position: absolute; |
| 178 |
left: 0; |
| 179 |
bottom: 0; |
| 180 |
height: 5px; |
| 181 |
width: 55px; |
| 182 |
background-color: #111; |
| 183 |
} |
| 184 |
h1:after { |
| 185 |
content: ""; |
| 186 |
position: absolute; |
| 187 |
left: 0; |
| 188 |
bottom: 2px; |
| 189 |
height: 1px; |
| 190 |
width: 95%; |
| 191 |
background-color: #333; |
| 192 |
} |
| 193 |
|
| 194 |
h2 { |
| 195 |
font-size: 24px; |
| 196 |
font-weight: 500; |
| 197 |
letter-spacing: 0; |
| 198 |
line-height: 1.5em; |
| 199 |
padding-bottom: 15px; |
| 200 |
position: relative; |
| 201 |
font-family: "Gill Sans Extrabold", sans-serif; |
| 202 |
} |
| 203 |
h2:before { |
| 204 |
content: ""; |
| 205 |
position: absolute; |
| 206 |
left: 0; |
| 207 |
bottom: 0; |
| 208 |
height: 3px; |
| 209 |
width: 55px; |
| 210 |
background-color: #111; |
| 211 |
} |
| 212 |
h2:after { |
| 213 |
content: ""; |
| 214 |
position: absolute; |
| 215 |
left: 0; |
| 216 |
bottom: 2px; |
| 217 |
height: 1px; |
| 218 |
width: 95%; |
| 219 |
background-color: #333; |
| 220 |
} |
| 221 |
|
| 222 |
h3 { |
| 223 |
font-size: 20px; |
| 224 |
font-weight: 500; |
| 225 |
letter-spacing: 0; |
| 226 |
line-height: 1.5em; |
| 227 |
padding-bottom: 15px; |
| 228 |
position: relative; |
| 229 |
font-family: "Gill Sans Extrabold", sans-serif; |
| 230 |
} |
| 231 |
h3:after { |
| 232 |
content: ""; |
| 233 |
position: absolute; |
| 234 |
left: 0; |
| 235 |
bottom: 2px; |
| 236 |
height: 1px; |
| 237 |
width: 95%; |
| 238 |
background-color: #333; |
| 239 |
} |
| 240 |
`; |
| 241 |
document.getElementsByTagName('head')[0].appendChild(style); |
| 242 |
|
| 243 |
</script> |