Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Keywords

In Spade there are no circumstances under which keywords can be used as identifiers.

The current version of spade has the following keywords:

  • as
  • assert
  • decl
  • else
  • entity
  • enum
  • extern
  • fn
  • for
  • gen
  • if
  • impl
  • initial
  • inst
  • inv
  • let
  • match
  • mod
  • mut
  • pipeline
  • port
  • pub
  • reg
  • reset
  • set
  • stage
  • struct
  • trait
  • type
  • unsafe
  • use
  • where
  • wire

Currently Spade provides no forward compatibility guarantees for identifiers and new keywords may be reserved without notice.