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

Testing

zyn provides two categories of testing tools:

  • Assertions — macros for comparing token streams, checking substrings, and inspecting diagnostics produced by elements
  • Debugging — inspect generated code at compile time with debug / debug = "pretty" and the ZYN_DEBUG environment variable