Skip to main content
5 of 5
deleted 6 characters in body
gastropner
  • 4.4k
  • 1
  • 15
  • 20

C (gcc), 84 82 81 79 75 bytes

Assumes all caps.

r;f(char*s){for(r=0;*s;r+="+-+,,-*/--*-)+(+),.*,-*+)+"[*s++%65]-43);s=r>0;}

Try it online!

gastropner
  • 4.4k
  • 1
  • 15
  • 20