Isoraqathedh

betza grammar

Feb 21st, 2014
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. betza-notation → subpiece+
  2. subpiece → component | bent-type "[" component+ "]" long-length?
  3. bent-type → "t" | "g"
  4. component → diag | orth | hippo | queen | king
  5.  
  6. hippo → other-modifiers* hippo-directions? hippo-piece length?
  7. hippo-piece  → "N", "L", "J"
  8. hippo-directions → "ff" | "fs" | "fh" | "rr" | "rv" | "rh" | "ll" | "lv" | "lh" | "bb" | "bs" | "bh"
  9.  
  10. orth → other-modifiers* orth-directions? (orth-stepper long-length? | orth-rider)
  11. orth-stepper → "W" | "D" | "H"
  12. orth-rider → orth-repeat-rider | orth-pure-rider length?
  13. orth-repeat-rider → "WW" | "DD" | "HH"
  14. orth-pure-rider → "R"
  15. orth-directions → "f" | "r" | "l" | "b" | "fr" | "fl" | "fb" | "rl" | "rb" | "frl" | "frb" | "fbl" | "rlb"
  16.  
  17. diag → other-modifiers* orth-directions? (diag-stepper long-length? | diag-rider)
  18. diag-stepper → "F" | "A" | "G"
  19. diag-rider → diag-repeat-rider | diag-pure-rider length?
  20. diag-repeat-rider → "FF" | "AA" | "GG"
  21. diag-pure-rider → "B"
  22. diag-directions → "f" | "b" | "r" | "l"
  23.  
  24. queen → other-modifiers* orth-directions? "Q" long-length
  25. king → other-modifiers* orth-directions? "K"
  26.  
  27. other-modifiers → "c" | "hh" | "j" | "m" | "n" | "p" # also z | q | o | g but those are horrible
  28.  
  29. length → {positive integers}
  30. long-length → {positive integers greater than 1}
Advertisement
Add Comment
Please, Sign In to add comment