#
5.2 Atoms

Atoms are the most basic elements of expressions. The simplest atoms are identifiers or literals. Forms enclosed in reverse quotes or in parentheses, brackets or braces are also categorized syntactically as atoms. The syntax for atoms is:

  atom | ::= | identifier | literal | enclosure
  enclosure | ::= | parenth_form | list_display
  |  | `| generator_expression | dict_display`
  |  | `| string_conversion | yield_atom`

  Download entire grammar as text.