<commit_before>Bool literals are designated by the following syntax:
\begin{syntax}
bool-literal: one of
  `true' `false'
\end{syntax}

Signed and unsigned integer literals are designated by the following
syntax:
\begin{syntax}
integer-literal:
  digits

digits:
  digit
  digit digits

digit: one of
  0 1 2 3 4 5 6 7 8 9
\end{syntax}
Suffixes, like those in C, are not necessary.  The type of an integer
literal is the first type of the following that can hold the value of
the digits: \chpl{int}, \chpl{int(64)}, \chpl{uint(64)}.  Explicit
conversions are necessary to change the type of the literal to another
integer size.

Floating-point literals are designated by the following syntax:
\begin{syntax}<commit_msg>Added hexadecimal and binary literals to the spec.<commit_after>Bool literals are designated by the following syntax:
\begin{syntax}
bool-literal: one of
  `true' `false'
\end{syntax}

Signed and unsigned integer literals are designated by the following
syntax:
\begin{syntax}
integer-literal:
  digits
  0 'x' hexadecimal-digits
  0 'b' binary-digits

digits:
  digit
  digit digits

digit: one of
  0 1 2 3 4 5 6 7 8 9

hexadecimal-digits:
  hexadecimal-digit
  hexadecimal-digit hexadecimal-digits

hexadecimal-digits: one of
  0 1 2 3 4 5 6 7 8 9 A B C D E F a b c d e f

binary-digits:
  binary-digit
  binary-digit binary-digits

binary-digits: one of
  0 1
\end{syntax}
Suffixes, like those in C, are not necessary.  The type of an integer
literal is the first type of the following that can hold the value of
the digits: \chpl{int}, \chpl{int(64)}, \chpl{uint(64)}.  Explicit
conversions are necessary to change the type of the literal to another
integer size.

Floating-point literals are designated by the following syntax:
\begin{syntax}
{'fraction_non_alphanumeric': 0.07187323146576118, 'fraction_numerical': 0.023769100169779286, 'mean_word_length': 4.065902578796561, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1067777', 'n_tokens_mistral': 628, 'n_tokens_neox': 572, 'n_words': 256}