Word

Word is a list of characters without punctuation.

Examples

  • main
  • add
  • 42
  • 0
  • +
  • =

Notes

  • Punctuation characters are .,() and whitespace characters.
  • In the context of context-free grammars, a word is called a symbol.