Skip to main content
1 of 4

Java, 80 bytes.

int f(String s){return s.chars().reduce(0,(r,c)->c<43?r*2:c<46?r+44-c:r >> 1);}

Uses java 8 streams.