docs: def get_syntax_errors(graph: BELGraph) -> List[WarningTuple]:
      """List the syntax errors encountered during compilation of a BEL script."""
      return [
          (path, exc, an)
          for path, exc, an in graph.warnings
          if isinstance(exc, BELSyntaxError)
      ]