Skip to main content
Commonmark migration
Source Link

#X-D, 81 Bytes

X-D, 81 Bytes

I can't be sure that this would work as I can't find an interpreter, so if someone can, that would be good :) <- gratuitous smiley

8-~~~~~>8P8;$;~~>;P;------>;-P;%$;-->;P:~~->:P:~<:-->:P8~>8P;P;-->;P%P;~<;>;P8>8P

An explanation of what I think should be happening

#                        Pointers:   8    ;    :    %   
8-~~~~~>8P  # set 8 to 72, print 8  72
8;$         # copy 8 to ;                72
;~~>;P      # inc ; 29, print ;         101
;------>;-P # inc ; 7, print ;          108
;%$         # copy ; to %                         108
;-->;P      # inc ; 3, print ;          111
:~~->:P     # set : to 44, print :            44
:~<         # dec : 15                        29
:-->:P      # inc : 3, print :                32
8~>8P       # inc 8 15, print 8     87
;P          # print ;                   111
;-->;P      # inc ; 3, print ;          114
%P          # print %                             108
;~<         # dec ; 15                   99
;>;P        # inc ; 1, print ;          100
8>8P        # inc 8, print 8                  33

#X-D, 81 Bytes

I can't be sure that this would work as I can't find an interpreter, so if someone can, that would be good :) <- gratuitous smiley

8-~~~~~>8P8;$;~~>;P;------>;-P;%$;-->;P:~~->:P:~<:-->:P8~>8P;P;-->;P%P;~<;>;P8>8P

An explanation of what I think should be happening

#                        Pointers:   8    ;    :    %   
8-~~~~~>8P  # set 8 to 72, print 8  72
8;$         # copy 8 to ;                72
;~~>;P      # inc ; 29, print ;         101
;------>;-P # inc ; 7, print ;          108
;%$         # copy ; to %                         108
;-->;P      # inc ; 3, print ;          111
:~~->:P     # set : to 44, print :            44
:~<         # dec : 15                        29
:-->:P      # inc : 3, print :                32
8~>8P       # inc 8 15, print 8     87
;P          # print ;                   111
;-->;P      # inc ; 3, print ;          114
%P          # print %                             108
;~<         # dec ; 15                   99
;>;P        # inc ; 1, print ;          100
8>8P        # inc 8, print 8                  33

X-D, 81 Bytes

I can't be sure that this would work as I can't find an interpreter, so if someone can, that would be good :) <- gratuitous smiley

8-~~~~~>8P8;$;~~>;P;------>;-P;%$;-->;P:~~->:P:~<:-->:P8~>8P;P;-->;P%P;~<;>;P8>8P

An explanation of what I think should be happening

#                        Pointers:   8    ;    :    %   
8-~~~~~>8P  # set 8 to 72, print 8  72
8;$         # copy 8 to ;                72
;~~>;P      # inc ; 29, print ;         101
;------>;-P # inc ; 7, print ;          108
;%$         # copy ; to %                         108
;-->;P      # inc ; 3, print ;          111
:~~->:P     # set : to 44, print :            44
:~<         # dec : 15                        29
:-->:P      # inc : 3, print :                32
8~>8P       # inc 8 15, print 8     87
;P          # print ;                   111
;-->;P      # inc ; 3, print ;          114
%P          # print %                             108
;~<         # dec ; 15                   99
;>;P        # inc ; 1, print ;          100
8>8P        # inc 8, print 8                  33
Source Link
MickyT
  • 12.2k
  • 2
  • 26
  • 48

#X-D, 81 Bytes

I can't be sure that this would work as I can't find an interpreter, so if someone can, that would be good :) <- gratuitous smiley

8-~~~~~>8P8;$;~~>;P;------>;-P;%$;-->;P:~~->:P:~<:-->:P8~>8P;P;-->;P%P;~<;>;P8>8P

An explanation of what I think should be happening

#                        Pointers:   8    ;    :    %   
8-~~~~~>8P  # set 8 to 72, print 8  72
8;$         # copy 8 to ;                72
;~~>;P      # inc ; 29, print ;         101
;------>;-P # inc ; 7, print ;          108
;%$         # copy ; to %                         108
;-->;P      # inc ; 3, print ;          111
:~~->:P     # set : to 44, print :            44
:~<         # dec : 15                        29
:-->:P      # inc : 3, print :                32
8~>8P       # inc 8 15, print 8     87
;P          # print ;                   111
;-->;P      # inc ; 3, print ;          114
%P          # print %                             108
;~<         # dec ; 15                   99
;>;P        # inc ; 1, print ;          100
8>8P        # inc 8, print 8                  33