I suppose extension should be easy. The point is that the betza parser already considers orthogonal and diagonal moves one family. So rather than splitting up K into W and F by some preprocessing, it considers W and F a form of K with a different (incomplete) default direction set. So apart from the different interpretation of the directional modifiers and the default for it, they would all be considered moves with a (0,1) step, (even F!), yet to be (pseudo-)rotated in several orientations as specified by the direction set. Encountering an X suffix at that point would increase that step to (0,4). In fact KX already works now! It is just a matter of also recognizing S and T as atoms with radial symmetry, and step (0,2) or (0,3), respectively. Then the SX and TX come for free.
[Edit] OK, I added the S and T atoms in both betza.js and betzaNew.js. I must fix the Spiral-Chess Diagram now, though, as I represented the spiral move as S there, counting on the Diagram script ignoring that. But now it would give the King an extra Alibaba move...
I suppose extension should be easy. The point is that the betza parser already considers orthogonal and diagonal moves one family. So rather than splitting up K into W and F by some preprocessing, it considers W and F a form of K with a different (incomplete) default direction set. So apart from the different interpretation of the directional modifiers and the default for it, they would all be considered moves with a (0,1) step, (even F!), yet to be (pseudo-)rotated in several orientations as specified by the direction set. Encountering an X suffix at that point would increase that step to (0,4). In fact KX already works now! It is just a matter of also recognizing S and T as atoms with radial symmetry, and step (0,2) or (0,3), respectively. Then the SX and TX come for free.
[Edit] OK, I added the S and T atoms in both betza.js and betzaNew.js. I must fix the Spiral-Chess Diagram now, though, as I represented the spiral move as S there, counting on the Diagram script ignoring that. But now it would give the King an extra Alibaba move...