Here's some sample output of the CIL structure for the full internal data representation for a position:
Code: Select all
> (setf pos (create-initial-array-pos))
#S(POS
:POSENV
#S(POSENV :ACT-COLOR 0 :PAS-COLOR 1 :CASTBITS 15 :EP-SQ NIL :HMVC 0 :FMVN 1
:KING-SQ-VEC #(4 60)
:MAIN-HASH
#*1110101011110010000100011111100001100000000111100100110011011101
:PAWN-HASH
#*0000000000001010111100100101100001011100100010001010011100001101
:PINNED-SQS NIL :FROZEN-SQS NIL)
:POSTAB
#S(POSTAB
:BBDB
#S(BBDB
:LOC-MERGE-BB
#*1111111111111111000000000000000000000000000000001111111111111111
:LOC-SWEEP-BB
#*1011010100000000000000000000000000000000000000000000000010110101
:LOC-COLOR-BB-VEC
#(#*1111111111111111000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000001111111111111111)
:LOC-MAN-BB-VEC
#(#*0000000011111111000000000000000000000000000000000000000000000000
#*0100001000000000000000000000000000000000000000000000000000000000
#*0010010000000000000000000000000000000000000000000000000000000000
#*1000000100000000000000000000000000000000000000000000000000000000
#*0001000000000000000000000000000000000000000000000000000000000000
#*0000100000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000001111111100000000
#*0000000000000000000000000000000000000000000000000000000001000010
#*0000000000000000000000000000000000000000000000000000000000100100
#*0000000000000000000000000000000000000000000000000000000010000001
#*0000000000000000000000000000000000000000000000000000000000010000
#*0000000000000000000000000000000000000000000000000000000000001000)
:ATK-BY-COLOR-BB-VEC
#(#*0111111011111111111111110000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000111111111111111101111110)
:ATK-FR-SQ-BB-VEC
#(#*0100000010000000000000000000000000000000000000000000000000000000
#*0000000000010000101000000000000000000000000000000000000000000000
#*0000000001010000000000000000000000000000000000000000000000000000
#*0010100000111000000000000000000000000000000000000000000000000000
#*0001010000011100000000000000000000000000000000000000000000000000
#*0000000000001010000000000000000000000000000000000000000000000000
#*0000000000001000000001010000000000000000000000000000000000000000
#*0000001000000001000000000000000000000000000000000000000000000000
#*0000000000000000010000000000000000000000000000000000000000000000
#*0000000000000000101000000000000000000000000000000000000000000000
#*0000000000000000010100000000000000000000000000000000000000000000
#*0000000000000000001010000000000000000000000000000000000000000000
#*0000000000000000000101000000000000000000000000000000000000000000
#*0000000000000000000010100000000000000000000000000000000000000000
#*0000000000000000000001010000000000000000000000000000000000000000
#*0000000000000000000000100000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000010000000000000000000000
#*0000000000000000000000000000000000000000101000000000000000000000
#*0000000000000000000000000000000000000000010100000000000000000000
#*0000000000000000000000000000000000000000001010000000000000000000
#*0000000000000000000000000000000000000000000101000000000000000000
#*0000000000000000000000000000000000000000000010100000000000000000
#*0000000000000000000000000000000000000000000001010000000000000000
#*0000000000000000000000000000000000000000000000100000000000000000
#*0000000000000000000000000000000000000000000000001000000001000000
#*0000000000000000000000000000000000000000101000000001000000000000
#*0000000000000000000000000000000000000000000000000101000000000000
#*0000000000000000000000000000000000000000000000000011100000101000
#*0000000000000000000000000000000000000000000000000001110000010100
#*0000000000000000000000000000000000000000000000000000101000000000
#*0000000000000000000000000000000000000000000001010000100000000000
#*0000000000000000000000000000000000000000000000000000000100000010)
:ATK-TO-SQ-BB-VEC
#(#*0000000000000000000000000000000000000000000000000000000000000000
#*1000000000000000000000000000000000000000000000000000000000000000
#*0001000000000000000000000000000000000000000000000000000000000000
#*0000100000000000000000000000000000000000000000000000000000000000
#*0001000000000000000000000000000000000000000000000000000000000000
#*0000100000000000000000000000000000000000000000000000000000000000
#*0000000100000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*1000000000000000000000000000000000000000000000000000000000000000
#*0010000000000000000000000000000000000000000000000000000000000000
#*0001000000000000000000000000000000000000000000000000000000000000
#*0111100000000000000000000000000000000000000000000000000000000000
#*0001111000000000000000000000000000000000000000000000000000000000
#*0000100000000000000000000000000000000000000000000000000000000000
#*0000010000000000000000000000000000000000000000000000000000000000
#*0000000100000000000000000000000000000000000000000000000000000000
#*0100000001000000000000000000000000000000000000000000000000000000
#*0000000010100000000000000000000000000000000000000000000000000000
#*0100000001010000000000000000000000000000000000000000000000000000
#*0000000000101000000000000000000000000000000000000000000000000000
#*0000000000010100000000000000000000000000000000000000000000000000
#*0000001000001010000000000000000000000000000000000000000000000000
#*0000000000000101000000000000000000000000000000000000000000000000
#*0000001000000010000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000100000001000000
#*0000000000000000000000000000000000000000000000001010000000000000
#*0000000000000000000000000000000000000000000000000101000001000000
#*0000000000000000000000000000000000000000000000000010100000000000
#*0000000000000000000000000000000000000000000000000001010000000000
#*0000000000000000000000000000000000000000000000000000101000000010
#*0000000000000000000000000000000000000000000000000000010100000000
#*0000000000000000000000000000000000000000000000000000001000000010
#*0000000000000000000000000000000000000000000000000000000010000000
#*0000000000000000000000000000000000000000000000000000000000100000
#*0000000000000000000000000000000000000000000000000000000000010000
#*0000000000000000000000000000000000000000000000000000000001111000
#*0000000000000000000000000000000000000000000000000000000000011110
#*0000000000000000000000000000000000000000000000000000000000001000
#*0000000000000000000000000000000000000000000000000000000000000100
#*0000000000000000000000000000000000000000000000000000000000000001
#*0000000000000000000000000000000000000000000000000000000000000000
#*0000000000000000000000000000000000000000000000000000000010000000
#*0000000000000000000000000000000000000000000000000000000000010000
#*0000000000000000000000000000000000000000000000000000000000001000
#*0000000000000000000000000000000000000000000000000000000000010000
#*0000000000000000000000000000000000000000000000000000000000001000
#*0000000000000000000000000000000000000000000000000000000000000001
#*0000000000000000000000000000000000000000000000000000000000000000))
:BOARD-VEC
#(3 1 2 4 5 2 1 3 0 0 0 0 0 0 0 0 12 12 12 12 12 12 12 12 12 12 12 12 12
12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 6 6 6 6 6 6 6
6 9 7 8 10 11 8 7 9)
:CENSUS
#S(CENSUS :COLOR-COUNT-VEC #(16 16)
:MAN-COUNT-VEC #(8 2 2 2 1 1 8 2 2 2 1 1))))
