fork download
  1. (eval((fn[program](let [n (zipmap '(+ - > < . ?)(repeatedly gensym))](letfn[(f*[
  2. s] (if (vector? s) `(while (not (~(n '?))) ~@(map f* s)) `(~(n s))))]`(let [t# (
  3. int-array 100 0)pt# (atom 0)a#(fn[c#]#(aset t# @pt#(c# (aget t# @pt#))))b#(fn[d#
  4. ]#(swap! pt# d#)) ~(vec (map n '(+ - > <)))(map #(%1 %2)[a# a# b# b#](cycle [inc
  5. dec]))~(n '.)#(print(char(aget t# @pt#)))~(n '?)#(zero?(aget t# @pt#))]~@(map f*
  6. (read-string(str "("(->> program (interpose \space) (apply str)) ")" )))))))"+++
  7. +++++[>++++++++<-]>+.[>+<-]+++++[>-----<-]>--------.[>+<-]++++++++[>++++++++<-]>
  8. ++++++++++++.+++.+++++.[>+<-]+++++++++[>---------<-]>---.[>+<-]++++++++[>+++++++
  9. +<-]>+++++++++++++++.---------.[>+<-]++++++++[>--------<-]>------.[>+<-]++++++++
  10. [>++++++++<-]>++++++++.-------.++.++++++++.--.+++++.-------.[>+<-]++++++++[>----
  11. ----<-]>-------.[>+<-]++++++++[>++++++++<-]>+++++++++.++++++++++.[>+<-]+++++++++
  12. [>---------<-]>--.[>+<-]++++++++[>++++++++<-]>++++++++++++++++.----.-----------.
  13. ++++++++++++++++++++++++.----------------.+++++.-------.[>+<-]++++++++[>--------
  14. <-]>-------.[>+<-]+++++++++[>+++++++++<-]>++++++.--------------.+++++++++++.----
  15. --------.[>+<-]++++++++[>--------<-]>--------.[>+<-]++++++++[>++++++++<-]>++++++
  16. +++++++++.+++++.------------.---.+++++++++++++.[>+<-]+++++++++[>---------<-]>-.[
  17. >+<-]++++++++[>++++++++<-]>++++++++++++++++.-----------.++++++++++.+.----.------
  18. -.[>+<-]+++++++[>-------<-]>--------.------------.[>+<-]+++++++++[>+++++++++<-]>
  19. ++++++++.----------.++++++.[>+<-]+++++++++[>---------<-]>----.[>+<-]++++++++[>++
  20. ++++++<-]>+++++++++++.+++.+.++++++++.[>+<-]++++++++[>--------<-]>-----------.---
  21. ---------.[>+<-]++++++++[>++++++++<-]>+++++++.--.+++++++++++++++..-----------.++
  22. +++.-------.[>+<-]++++++++[>--------<-]>-------.[>+<-]+++++++++[>+++++++++<-]>++
  23. +.------------.---.++++++++.[>+<-]++++++++[>--------<-]>-------------.[>+<-]++++
  24. +++++[>+++++++++<-]>+++.-----.[>+<-]++++++++[>--------<-]>---------------.[>+<-]
  25. ++++++++[>++++++++<-]>++++.+++++++++++.[>+<-]++++++++[>--------<-]>-------------
  26. --.[>+<-]+++++++++[>+++++++++<-]>++.+.--.-----------------.+++++++++++++.-------
  27. .--.[>+<-]++++++++[>--------<-]>-----.[>+<-]+++++++++[>+++++++++<-]>+++.--------
  28. ----.+.+++++.-------.++++++++++++.[>+<-]++++++++[>--------<-]>-----.------------
  29. --.+++++++++++++.[>+<-]++++++[>++++++<-]>++.[>+<-]+++++[>+++++<-]>++++++++.-----
  30. ----------.+++++++++++++++++.-----------------.[>+<-]++++++++[>--------<-]>-----
  31. .[>+<-]+++++++[>+++++++<-]>++++++.++++++++++++++++++++++++.+++++++++++.---------
  32. ---.-----.--------.++++++++++.[>+<-]+++++++++[>---------<-]>----------------."))
  33.  
Runtime error #stdin #stdout 1s 214656KB
stdin
Standard input is empty
stdout
Standard output is empty