From 8ae0762db0616e1ff177335c9fc73c816634fc89 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Tue, 9 Feb 2021 16:20:08 +0100 Subject: [notation] option to fine tune printing of literals --- test-suite/output/primitive_tokens.out | 29 +++++++++++++++++++++++++++++ test-suite/output/primitive_tokens.v | 15 +++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 test-suite/output/primitive_tokens.out create mode 100644 test-suite/output/primitive_tokens.v (limited to 'test-suite') diff --git a/test-suite/output/primitive_tokens.out b/test-suite/output/primitive_tokens.out new file mode 100644 index 0000000000..cbed08c0ca --- /dev/null +++ b/test-suite/output/primitive_tokens.out @@ -0,0 +1,29 @@ +"foo" + : string +1234 + : nat +String (Ascii.Ascii false true true false false true true false) + (String (Ascii.Ascii true true true true false true true false) + (String (Ascii.Ascii true true true true false true true false) + EmptyString)) + : string +S + (S + (S + (S + (S + (S + (S + (S + (S + (S + (S + (S + (S + (S + (S + (S + (S + (S + (S (S (S (S (S (S ...))))))))))))))))))))))) + : nat diff --git a/test-suite/output/primitive_tokens.v b/test-suite/output/primitive_tokens.v new file mode 100644 index 0000000000..fe31107744 --- /dev/null +++ b/test-suite/output/primitive_tokens.v @@ -0,0 +1,15 @@ +Require Import String. + +Open Scope string_scope. + +Unset Printing Notations. + +Check "foo". +Check 1234. +Check 1 + 2. + +Unset Printing Primitive Tokens. + +Check "foo". +Check 1234. +Check 1 + 2. -- cgit v1.2.3