Talk:EPARM

From Esolang
Jump to navigation Jump to search

Does SNUSP use 8-bit values? Neither the SNUSP page nor the Brainfuck page are clear, and the SNUSP spec is not available (bad link). In any case, I have seen at least two SNUSP implementations with integer-sized values. The following fixes the Echo implementation for them without seriously damaging 8-bit value machines (it's slower), assuming that EOF is -1. EOF is also unspecified, so it's hard to say.

Example 5: An EPARM compliant echo implementation

    /@=@=@=@=++#           
$>>@/<<\ /==================!/@=@=@=@=@=@=@=--# -256
/======/ |              EOF  |/++\  
\@!\,+++@/?\,@\=?\=!/,+?\# /@///+/  EOF   EOH   
   |       #  |  #  |   \-?/>+<===\  #     #    
   |      EOH | EOH \\         ?/,+?!/@\-?!/@\==+?\==\  
   >          |     !\.---=\ /=/  |    |     |    |  |
   >          |     |      | | \/ |    |     |    |  |
   >          |     \======|=|====/!===|=====|====/  |  
   >    /-====/!===========|=|=========/     \=======|==============+\ 
   |    \@=@=@=@=@=---#/=@\| |                       | #+++=@=@=@=@=@/
   |    #++=@=@=@=@=@=@//@// \==\                    | 
   @     +256           \<=/?\!>/!===================/
   \=@=@+++#             /=/ \-\                        
   .                     \=>.<=/
   #