Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Roqc/ide/rocqide/   (Beweissystem des Inria Version 9.1.0©)  Datei vom 15.8.2025 mit Größe 2 kB image not shown  

Quelle  unicode_bindings.mli   Sprache: SML

 
(************************************************************************)
(*         *      The Rocq Prover / The Rocq Development Team           *)
(*  v      *         Copyright INRIA, CNRS and contributors             *)
(* <O___,, * (see version control and CREDITS file for authors & dates) *)
(*   \VV/  **************************************************************)
(*    //   *    This file is distributed under the terms of the         *)
(*         *     GNU Lesser General Public License Version 2.1          *)
(*         *     (see LICENSE file for the text of the license)         *)
(************************************************************************)


(** Latex to unicode bindings.
    See also the documentation in doc/sphinx/practical-tools/coqide.rst.

    Text description of the unicode bindings, in a file with one item per line,
    each item consists of:
    - a leading backslahs
    - a ascii word next to it
    - a unicode word (or possibly a full sentence in-between doube-quotes,
     the sentence may include spaces and \n tokens),
    - optionally, an integer indicating the "priority" (lower is higher priority),
      technically the length of the prefix that suffices to obtain this word.
      Ex. if "\lambda" has priority 3, then "\lam" always decodes as "\lambda".

      \pi π
      \lambda λ 3
      \lambdas λs 4
      \lake Ο 2
      \lemma "Lemma foo : x. Proof. Qed." 1  ---currently not supported by the parser

    - In case of equality between two candidates (same ascii word, or same
      priorities for two words with similar prefix), the first binding is considered.

    - Note that if a same token is bound in several bindings file,
      the one with the lowest priority number will be considered.
      In case of same priority, the binding from the first file loaded
      is considered.
*)



(** [load_files] takes a list of filenames and load them as binding files.
    Filenames may include "default" and "local" as items. *)


val load_files : string list -> unit

(** [lookup] takes a prefix and returns the corresponding unicode value *)

val lookup : string -> string option

100%


¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung ist noch experimentell.