Phrase

Phrase is a list of elements separated by whitespace and enclosed in parentheses. Every element is either a word or a (nested) phrase.

Examples

  • (main)
  • (add 2 2)
  • (add (add 1 1) 2)
  • (= (add 2 2) 4)
  • ()

Notes

  • Yeah, it's a LISP.