FredHappyface / Android.Brainf

Interpreter for the 'Brainf' programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: Empty input is not an error

easyaspi314 opened this issue · comments

Bug

  • I have read the comment above and have completed each step
  • I have filled out the system info
  • I have described the bug, filled in the expected outcome and the actual
    outcome including screenshots where appropriate

System info

  • OS: Android 12
  • Version: 2022.01.10

Describe the bug

Brainf should set the result of , to 0 if there is no input left.

For example, take the cat program

,[.,]

Input: hello

Expected outcome

Output: hello

Actual outcome

ERROR: Insufficient input supplied. Must be > 5. (instruction={3:','})

Hi thanks for the issue and apologies for the delay in getting back to you. This one had completely slipped off my radar. I've addressed it and should get an update out in the next couple weeks.