An html version of valladao.cql

; valladao.cql can be downloaded here.
;The Valladao task: Find studies in which en-passant, promotion, and castling all occur in the main line.


(match
 :pgn heijden.pgn
 :output out.pgn
 (position :enpassant)
 (position
  :movefrom [Kk]e?
  :moveto .[c?,g?]
  )
 (position :promote [NnBbRr])
)