An html version of pinstalemate.cql

; pinstalemate.cql can be downloaded here.
;; Find positions in the main line in which a side is in stalemate and in which
;; at least two of its pieces are pinned.
(match
 :pgn heijden.pgn
 :output out.pgn
 (position
  :btm
  :stalemate
  :flipcolor
  :rayattack (A a k) 2 100))