PageSourceSearch

https://none-none1.github.io/Interpret-Esolangs-Online/plusorminus.js

js none-none1.github.io collected 2026-10-03 09:42:08 UTC 264 bytes, 11 lines download raw bytes

1function plusorminus(program,input){
2    var output='',x=0;
3    for(let i of program){
4        if(i=='+'){
5            x++;if(x==256){x=0}
6        }else if(i=='-'){
7            output+=String.fromCharCode(x);x--;if(x==-1){x=255}
8        }
9    }
10    return output
11}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.