Execute Brain****/JavaScript: Difference between revisions
Content added Content deleted
m (<lang>) |
(unfriendly to quit on EOF) |
||
Line 22: | Line 22: | ||
']':function() { if ( data[dp]) ip = ahead[ip]; else --nest }, |
']':function() { if ( data[dp]) ip = ahead[ip]; else --nest }, |
||
',':function() { |
',':function() { |
||
var c = document.getElementById("input").value.charCodeAt(inp++); |
|||
data[dp] = isNaN(c) ? 0 : c; // EOF: other options are -1 or no change |
|||
}, |
}, |
||
'.':function() { |
'.':function() { |