1 / 2
Jan 2023

The following simple code first reads the number of lines in the input, then output each character read, but it gets Runtime Error(SIGABRT).

-+>>,----------[<<[->++++++++++<]>[-<+>]>--------------------------------------[-<<+>>],----------]<<[->
,----------[
++++++++++.[-]
,----------]
<]

After I modify it to the following, it works fine:

-+>>,----------[<<[->++++++++++<]>[-<+>]>--------------------------------------[-<<+>>],----------]<<[->
,----------[
++++++++++.[->+<]
,----------]
<]

So it must be something wrong when bff 1.0.6 compiler dealing with [-] operator.

  • created

    Jan '23
  • last reply

    Jan '23
  • 1

    reply

  • 523

    views

  • 2

    users

  • 1

    link

Both versions work in Ideone: