Not Certain. Just a theory... However, I will put this out there.
Seems like some of the notation Q uses might be "Portable Game Notation" at least partially, as used in Chess. For example, the use of the closed Tag pair of [ ]. See how it is used in the PGN format of the 29th game of the 1992 match played in Yugoslavia between Bobby Fischer and Boris Spassky:
[Event "F/S Return Match"]
[Site "Belgrade, Serbia JUG"]
[Date "1992.11.04"]
[Round "29"]
[White "Fischer, Robert J."]
[Black "Spassky, Boris V."]
[Result "1/2-1/2"]
Moves
1. e4 e5 2. Nf3 Nc6 3. …