package elpi
ELPI - Embeddable λProlog Interpreter
Install
Dune Dependency
Authors
Maintainers
Sources
elpi-1.19.6.tbz
sha256=0e67d3bdbdda3495446e5835544f626d41985a84c361e9a70ee28cff828a71e0
sha512=d64cd2e5e958c1588e39518eeaf1a08883182e0c64831fde7132f184a78f586ce33f5c4e73f8f444288176aa8367fa6301e384303c46ed9c04bef37c4d7fcfcd
doc/src/elpi.parser/error_messages.ml.html
Source file error_messages.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
(* This file was auto-generated based on "error_messages.txt". *) (* Please note that the function [message] can raise [Not_found]. *) let message = fun s -> match s with | 417 | 354 | 355 | 357 -> "Mixfix declaration expected (Teyjus compatibility, ignored by Elpi).\nExamples:\ninfixl and 30.\ninfixr ++ 45.\nprefix - 12.\n" | 270 | 273 | 288 -> "Useonly directive expected (Teyjus compatibility, ignored by Elpi).\nExamples:\nuseonly foo.\nuseonly foo, bar.\n" | 289 | 290 | 398 -> "Closed directive expected (Teyjus compatibility, ignored by Elpi).\nExamples:\nclosed foo.\nclosed foo, bar.\n" | 339 -> "Local kind declaration expected (Teyjus compatibility, ignored by Elpi).\nExamples:\nlocalkind foo.\nlocalkind foo, bar.\n" | 302 | 325 | 415 -> "Module/Signature header expected (Teyjus compatibility, ignored by Elpi).\nExamples:\nmodule foo.\nsig bar.\n" | 274 | 275 | 277 | 278 | 279 | 281 | 282 | 286 | 360 | 361 | 362 -> "Definition export directive expected (Teyjus compatibility, ignored by Elpi).\nExamples:\nexportdef foo, bar.\nexportdef foo (term -> term).\n" | 450 | 451 | 457 | 452 | 453 -> "Predicate declaration expected. Examples:\npred append i:list A, i:list A, o:list A.\npred append i:list A i:list A o:list A.\npred map i:list A, i:(A -> B -> prop), o:list B.\n" | 466 -> "Unexpected keyword.\n" | 425 -> "External declaration expected. Examples:\nexternal type foo term -> prop.\nexternal pred foo i:term.\n" | 364 | 369 -> "Constraint Handling Rule header expected. Examples:\nconstraint foo {\nconstraint foo bar {\n" | 347 | 348 | 349 | 350 -> "Kind declaration expected. Examples:\nkind term type.\nkind list type -> type.\n" | 341 | 342 | 343 -> "Local symbol declaration expected. Examples:\nlocal foo.\nlocal foo, bar.\nlocal foo (term -> term).\n" | 322 | 323 -> "Namespace header expected. Examples:\nnamespace foo {\n" | 304 | 306 | 308 | 309 | 310 | 311 | 312 | 314 | 315 | 316 -> "Shortening directive expected. Examples:\nshorten foo.{ bar }.\nshorten foo.{ bar , baz }.\nshorten foo.{ bar , baz. { qux , dim } }.\n" | 292 | 293 | 297 | 300 | 301 | 294 -> "Type abbreviation expected. Examples:\ntypeabbrev context (list term).\ntypeabbrev (two A) (pair A A).\n" | 21 | 184 | 175 -> "List expected. Examples:\n[ this , that | More ].\n[ Head | Tail ].\n" | 37 -> "Closing '[' with ')'.\n" | 533 | 538 | 271 | 537 -> "Malformed accumulate. Examples:\naccumulate foo.\naccumulate foo, bar.\naccumulate \"foo/bar\".\n" | 430 | 429 | 423 | 432 | 433 | 435 | 439 | 440 | 444 | 445 | 447 -> "Malformed CHR rule declaration. Examples:\nrule (match this).\nrule (match this) \\ (remove that).\nrule (match this) \\ (remove that) | (only when).\nrule (match this) \\ (remove that) | (only when) <=> (add this).\n" | 426 | 427 | 428 -> "Malformed type declaration. Examples:\ntype app tm -> tm -> tm.\ntype lam (tm -> tm) -> tm.\ntype (++) list A -> list A -> list A.\n" | 395 | 396 -> "Malformed 'external' attribute. Example:\n:external pred\n" | 390 | 392 -> "Malformed grafting attribute. Example:\n:before \"some name\"\n:after \"some other name\"\n" | 387 -> "Malformed 'if' attribute. Example:\n:if \"VARIABLE\"\n" | 377 | 378 | 385 -> "Malformed 'index' attribute. Example:\n:index(1 _ 1)\n" | 375 -> "Malformed 'name' attribute. Example:\n:name \"name of the clause\"\n" | 372 | 373 | 382 -> "Attribute expected. Examples:\n:name \"some name\"\n:index (_ 1 1)\n" | 335 | 336 | 337 | 338 -> "Malformed macro declaration. Example:\nmacro @foo X Y :- p X => q Y.\n" | 327 | 328 | 329 | 333 | 409 -> "Malformed mode declaration. Example:\nmode (foo i i o).\n" | 265 -> "Prefix symbol expected.\n" | 262 -> "Postifx symbol expected.\n" | 230 -> "Infix symbol expected.\n" | 224 -> "Right parenthesis ')' expected.\n" | 0 | 18 | 19 -> "Term expected.\n" | 216 -> "Malformed as binding. Examples:\n(f X as Y)\n([_,_|_] as Y)\n" | 8 | 196 -> "Mixfix symbol or term expected.\n" | 469 | 471 | 491 | 493 | 473 | 495 | 498 | 500 | 502 | 504 | 506 | 508 | 510 | 512 | 514 | 475 | 477 | 479 | 489 | 518 | 520 | 522 | 524 | 528 | 530 | 460 | 461 | 124 | 146 | 128 | 158 | 126 | 132 | 142 | 148 | 160 | 130 | 134 | 162 | 166 | 138 | 164 | 168 | 136 | 119 | 140 | 156 | 172 | 122 | 182 | 192 | 40 | 222 | 226 | 115 | 117 | 73 | 89 | 97 | 101 | 69 | 81 | 93 | 63 | 67 | 95 | 99 | 71 | 33 | 36 | 57 | 79 | 61 | 43 | 51 | 49 | 91 | 59 | 65 | 55 | 75 | 105 | 107 | 111 | 113 | 174 | 178 | 181 | 185 | 464 | 219 | 462 | 77 | 83 | 85 | 87 | 103 | 144 | 150 | 152 | 154 | 170 | 176 | 481 | 483 | 485 | 487 | 516 | 109 | 526 -> "Term expected, got keyword.\n" | 468 -> "Unexpected keyword.\n" | 268 | 419 -> "Unexpected start of program clause or declaration.\n" | 78 | 66 | 98 | 94 | 70 | 100 | 68 | 64 | 60 | 90 | 58 | 88 | 488 | 497 | 490 | 145 | 492 | 472 | 494 | 499 | 501 | 503 | 505 | 507 | 509 | 511 | 513 | 135 | 167 | 137 | 165 | 161 | 133 | 129 | 159 | 131 | 125 | 157 | 127 | 62 | 92 | 521 | 474 | 476 | 478 | 517 | 519 | 523 | 527 | 529 | 470 | 163 | 147 | 141 | 56 | 74 | 80 | 96 | 72 | 104 | 106 | 110 | 112 | 114 | 123 | 139 | 155 | 171 | 173 | 177 | 180 | 221 | 38 | 187 | 118 | 76 | 82 | 84 | 86 | 102 | 143 | 149 | 151 | 153 | 169 | 480 | 482 | 484 | 486 | 515 | 108 | 525 -> "This infix operator expects a right hand side.\n" | 39 | 463 | 28 -> "This prefix operator expects an argument.\n" | _ -> raise Not_found
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>