diff options
| author | Pierre Roux | 2019-01-29 21:26:24 +0100 |
|---|---|---|
| committer | Pierre Roux | 2019-04-02 00:02:33 +0200 |
| commit | 6b9cb710545e1844c324979e27a04d9ddb52a924 (patch) | |
| tree | 95bdbf29749461a409042fdee6f773fe58917eac /doc/sphinx/language | |
| parent | 49c5de7ead9d008d91a63316e6037bcc9c1f1d52 (diff) | |
Update documentation
Diffstat (limited to 'doc/sphinx/language')
| -rw-r--r-- | doc/sphinx/language/gallina-specification-language.rst | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/sphinx/language/gallina-specification-language.rst b/doc/sphinx/language/gallina-specification-language.rst index 8a5e9d87f8..bb0a9fa1bd 100644 --- a/doc/sphinx/language/gallina-specification-language.rst +++ b/doc/sphinx/language/gallina-specification-language.rst @@ -74,14 +74,19 @@ Identifiers and access identifiers `.` (dot) without blank. They are used in the syntax of qualified identifiers. -Natural numbers and integers - Numerals are sequences of digits. Integers are numerals optionally - preceded by a minus sign. +Numerals + Numerals are sequences of digits with a potential fractional part + and exponent. Integers are numerals without fractional nor exponent + part and optionally preceded by a minus sign. .. productionlist:: coq digit : 0..9 num : `digit`…`digit` integer : [-]`num` + dot : . + exp : e | E + sign : + | - + numeral : `num`[`dot` `num`][`exp`[`sign`]`num`] Strings Strings are delimited by ``"`` (double quote), and enclose a sequence of |
