Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Roqc/test-suite/bugs/   (Beweissystem des Inria Version 9.1.0©)  Datei vom 15.8.2025 mit Größe 672 B image not shown  

Quelle  bug_7986.v   Sprache: Coq

 
Inductive Instruction: Set := .

(* The following works: *)
Notation "'RISCV' {{ x ; y ; .. ; z }}" := (@cons Instruction x
  (@cons Instruction y .. (@cons Instruction z nil) ..))
  (format "'RISCV' {{ '[v' '//' x ; '//' y ; '//' .. ; '//' z ']' '//' }}").

(* But if I remove the semicolons, I get
Error: Anomaly "Uncaught exception Failure("List.last")."
Please report at http://coq.inria.fr/bugs/.
 *)

(* This should fail as: "The format does not match the notation." *)
Fail Notation "'RISCV' {{ x y .. z }}" := (@cons Instruction x
  (@cons Instruction y .. (@cons Instruction z nil) ..))
  (format "'RISCV' {{ '[v' '//' x '//' y '//' .. '//' z ']' '//' }}").

99%


¤ Dauer der Verarbeitung: 0.2 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.