Advertisement
Guest User

FizzBuzz - debug

a guest
Jan 16th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. main
  2. >+[->+>+<<]>>[-<<+>>]<>++++++++++++++++++++>+[-<[->>+<<]<[->+<]>>>[-<<<+>>>]<]<>
  3. +[-<[->>+<<]<[->+<]>>>[-<<<+>>>]<]<[<[->>+>+<<<]>>>[-<<<+>>>]<[>+<[-]]+>[-<->]<[
  4. -<[-]+<+>>]<<->-]<[>+<[-]]>[-<+>]<[>+<[-]]+>[-<->]<[[-]<
  5.  while
  6.  [->+>+<<]>>[-<<+>>]<[->+>+<<]>>[-<<+>>]<
  7.    can_be_divided_by(n='\ETX')
  8.    >+++>+[-<[->>+<<]<[->+<]>>>[-<<<+>>>]<]<
  9.      modc
  10.      <[->>+>+<<<]>>>[-<<<+>>>]<<[->>+>+<<<]>>>[-<<<+>>>]<[<[->>+>+<<<]>>>[-<<<+>>>]<[
  11.      >+<[-]]+>[-<->]<[-<[-]+<+>>]<<->-]<[>+<[-]]>[-<+>]<[>+<[-]]+>[-<->]<[-<<[->>+>+<
  12.      <<]>>>[-<<<+>>>]<[-<->]<<[->>+>+<<<]>>>[-<<<+>>>]<<[->>+>+<<<]>>>[-<<<+>>>]<[<[-
  13.      >>+>+<<<]>>>[-<<<+>>>]<[>+<[-]]+>[-<->]<[-<[-]+<+>>]<<->-]<[>+<[-]]>[-<+>]<[>+<[
  14.      -]]+>[-<->]<]<<[-]>[-<+>]<
  15.    [>+<[-]]+>[-<->]<
  16.  >+[-<[->>+<<]<[->+<]>>>[-<<<+>>>]<]<
  17.    can_be_divided_by(n='\ENQ')
  18.    >+++++>+[-<[->>+<<]<[->+<]>>>[-<<<+>>>]<]<
  19.      modc
  20.      <[->>+>+<<<]>>>[-<<<+>>>]<<[->>+>+<<<]>>>[-<<<+>>>]<[<[->>+>+<<<]>>>[-<<<+>>>]<[
  21.      >+<[-]]+>[-<->]<[-<[-]+<+>>]<<->-]<[>+<[-]]>[-<+>]<[>+<[-]]+>[-<->]<[-<<[->>+>+<
  22.      <<]>>>[-<<<+>>>]<[-<->]<<[->>+>+<<<]>>>[-<<<+>>>]<<[->>+>+<<<]>>>[-<<<+>>>]<[<[-
  23.      >>+>+<<<]>>>[-<<<+>>>]<[>+<[-]]+>[-<->]<[-<[-]+<+>>]<<->-]<[>+<[-]]>[-<+>]<[>+<[
  24.      -]]+>[-<->]<]<<[-]>[-<+>]<
  25.    [>+<[-]]+>[-<->]<
  26.  >++<[->>+<<]>[->[->+<]>[-<+<<+>>>]<<]>[-]<<[-<+>]<[->+>+<<]>>[-<<+>>]<>+++<[->-<
  27.  ]>[-<+>]<[>+<[-]]>[-<+>]<[>+<[-]]+>[-<->]<[[-]<
  28.    if
  29.      prints(s="fizzbuzz!\n")
  30.      >[-]++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  31.      ++++++++++++++++++++++++++.+++.+++++++++++++++++..------------------------.+++++
  32.      ++++++++++++++.+++++..----------------------------------------------------------
  33.      -------------------------------.-----------------------.<
  34.  >[-]]<[->+>+<<]>>[-<<+>>]<>++<[->-<]>[-<+>]<[>+<[-]]>[-<+>]<[>+<[-]]+>[-<->]<[[-
  35.  ]<
  36.    if
  37.      prints(s="buzz!\n")
  38.      >[-]++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  39.      ++++++++++++++++++++++.+++++++++++++++++++.+++++..------------------------------
  40.      -----------------------------------------------------------.--------------------
  41.      ---.<
  42.  >[-]]<[->+>+<<]>>[-<<+>>]<>+<[->-<]>[-<+>]<[>+<[-]]>[-<+>]<[>+<[-]]+>[-<->]<[[-]
  43.  <
  44.    if
  45.      prints(s="fizz!\n")
  46.      >[-]++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  47.      ++++++++++++++++++++++++++.+++.+++++++++++++++++..------------------------------
  48.      -----------------------------------------------------------.--------------------
  49.      ---.<
  50.  >[-]]<[->+>+<<]>>[-<<+>>]<><[->-<]>[-<+>]<[>+<[-]]>[-<+>]<[>+<[-]]+>[-<->]<[[-]<
  51.    if
  52.    >+[-<[->>+<<]<[->+<]>>>[-<<<+>>>]<]<
  53.      printc_ord
  54.      [->+>+<<]>>[-<<+>>]<[->+>+<<]>>[-<<+>>]<>+++++++++++++++++++++++++++++++++++++++
  55.      +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+[-<[->>+<<]<[->+<
  56.      ]>>>[-<<<+>>>]<]<
  57.        divc
  58.        >>+[-<[->>+<<]<[->+<]<[->+<]>>>>[-<<<<+>>>>]<]<<[->>+>+<<<]>>>[-<<<+>>>]<<[->>+>
  59.        +<<<]>>>[-<<<+>>>]<[<[->>+>+<<<]>>>[-<<<+>>>]<[>+<[-]]+>[-<->]<[-<[-]+<+>>]<<->-
  60.        ]<[>+<[-]]>[-<+>]<[>+<[-]]+>[-<->]<[-<<<+>[->>+>+<<<]>>>[-<<<+>>>]<[-<->]<<[->>+
  61.        >+<<<]>>>[-<<<+>>>]<<[->>+>+<<<]>>>[-<<<+>>>]<[<[->>+>+<<<]>>>[-<<<+>>>]<[>+<[-]
  62.        ]+>[-<->]<[-<[-]+<+>>]<<->-]<[>+<[-]]>[-<+>]<[>+<[-]]+>[-<->]<]<[-]<[-]<
  63.      [->+>+<<]>>[-<<+>>]<[>+<[-]]>[-<+>]<[[-]<
  64.        if
  65.        [->+>+<<]>>[-<<+>>]<++++++++++++++++++++++++++++++++++++++++++++++++.[-]<
  66.      >[-]]<[-]<>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  67.      +++++++++++++++++++++++++++++++>+[-<[->>+<<]<[->+<]>>>[-<<<+>>>]<]<
  68.        modc
  69.        <[->>+>+<<<]>>>[-<<<+>>>]<<[->>+>+<<<]>>>[-<<<+>>>]<[<[->>+>+<<<]>>>[-<<<+>>>]<[
  70.        >+<[-]]+>[-<->]<[-<[-]+<+>>]<<->-]<[>+<[-]]>[-<+>]<[>+<[-]]+>[-<->]<[-<<[->>+>+<
  71.        <<]>>>[-<<<+>>>]<[-<->]<<[->>+>+<<<]>>>[-<<<+>>>]<<[->>+>+<<<]>>>[-<<<+>>>]<[<[-
  72.        >>+>+<<<]>>>[-<<<+>>>]<[>+<[-]]+>[-<->]<[-<[-]+<+>>]<<->-]<[>+<[-]]>[-<+>]<[>+<[
  73.        -]]+>[-<->]<]<<[-]>[-<+>]<
  74.      [->+>+<<]>>[-<<+>>]<>++++++++++>+[-<[->>+<<]<[->+<]>>>[-<<<+>>>]<]<
  75.        divc
  76.        >>+[-<[->>+<<]<[->+<]<[->+<]>>>>[-<<<<+>>>>]<]<<[->>+>+<<<]>>>[-<<<+>>>]<<[->>+>
  77.        +<<<]>>>[-<<<+>>>]<[<[->>+>+<<<]>>>[-<<<+>>>]<[>+<[-]]+>[-<->]<[-<[-]+<+>>]<<->-
  78.        ]<[>+<[-]]>[-<+>]<[>+<[-]]+>[-<->]<[-<<<+>[->>+>+<<<]>>>[-<<<+>>>]<[-<->]<<[->>+
  79.        >+<<<]>>>[-<<<+>>>]<<[->>+>+<<<]>>>[-<<<+>>>]<[<[->>+>+<<<]>>>[-<<<+>>>]<[>+<[-]
  80.        ]+>[-<->]<[-<[-]+<+>>]<<->-]<[>+<[-]]>[-<+>]<[>+<[-]]+>[-<->]<]<[-]<[-]<
  81.      [->+>+<<]>>[-<<+>>]<[>+<[-]]>[-<+>]<[[-]<
  82.        if
  83.        [->+>+<<]>>[-<<+>>]<++++++++++++++++++++++++++++++++++++++++++++++++.[-]<
  84.      >[-]]<[-]<>++++++++++>+[-<[->>+<<]<[->+<]>>>[-<<<+>>>]<]<
  85.        modc
  86.        <[->>+>+<<<]>>>[-<<<+>>>]<<[->>+>+<<<]>>>[-<<<+>>>]<[<[->>+>+<<<]>>>[-<<<+>>>]<[
  87.        >+<[-]]+>[-<->]<[-<[-]+<+>>]<<->-]<[>+<[-]]>[-<+>]<[>+<[-]]+>[-<->]<[-<<[->>+>+<
  88.        <<]>>>[-<<<+>>>]<[-<->]<<[->>+>+<<<]>>>[-<<<+>>>]<<[->>+>+<<<]>>>[-<<<+>>>]<[<[-
  89.        >>+>+<<<]>>>[-<<<+>>>]<[>+<[-]]+>[-<->]<[-<[-]+<+>>]<<->-]<[>+<[-]]>[-<+>]<[>+<[
  90.        -]]+>[-<->]<]<<[-]>[-<+>]<
  91.      [->+>+<<]>>[-<<+>>]<++++++++++++++++++++++++++++++++++++++++++++++++.[-]<[-]<
  92.      prints(s="\n")
  93.      >[-]++++++++++.<
  94.    >+[-<[->>+<<]<[->+<]>>>[-<<<+>>>]<]<
  95.  >[-]]<[-]<+[->+>+<<]>>[-<<+>>]<>++++++++++++++++++++>+[-<[->>+<<]<[->+<]>>>[-<<<
  96.  +>>>]<]<>+[-<[->>+<<]<[->+<]>>>[-<<<+>>>]<]<[<[->>+>+<<<]>>>[-<<<+>>>]<[>+<[-]]+
  97.  >[-<->]<[-<[-]+<+>>]<<->-]<[>+<[-]]>[-<+>]<[>+<[-]]+>[-<->]<]<
  98. [-]<
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement