Guest User

Untitled

a guest
Dec 8th, 2023
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. (let* ((counter 0)
  2. (path "LLR")
  3. (list-length (length path)))
  4. (tagbody
  5. AAA
  6. (if (char= (elt path (mod counter list-length)) #\L)
  7. (progn (incf counter) (go BBB))
  8. (progn (incf counter) (go CCC)))
  9. BBB
  10. (if (char= (elt path (mod counter list-length)) #\L)
  11. (progn (incf counter) (go DDD))
  12. (progn (incf counter) (go EEE)))
  13. CCC
  14. (if (char= (elt path (mod counter list-length)) #\L)
  15. (progn (incf counter) (go ZZZ))
  16. (progn (incf counter) (go GGG)))
  17. DDD
  18. (if (char= (elt path (mod counter list-length)) #\L)
  19. (progn (incf counter) (go DDD))
  20. (progn (incf counter) (go DDD)))
  21. EEE
  22. (if (char= (elt path (mod counter list-length)) #\L)
  23. (progn (incf counter) (go EEE))
  24. (progn (incf counter) (go EEE)))
  25. GGG
  26. (if (char= (elt path (mod counter list-length)) #\L)
  27. (progn (incf counter) (go GGG))
  28. (progn (incf counter) (go GGG)))
  29. ZZZ)
  30. counter)
Advertisement
Add Comment
Please, Sign In to add comment