Show ASCII table: Difference between revisions
Content added Content deleted
m (→{{header|J}}: makes more sense to use u8 encoding here) |
(Add brainfuck example) |
||
Line 1,356: | Line 1,356: | ||
46: . 62: > 78: N 94: ^ 110: n 126: ~ |
46: . 62: > 78: N 94: ^ 110: n 126: ~ |
||
47: / 63: ? 79: O 95: _ 111: o 127: DEL</syntaxhighlight> |
47: / 63: ? 79: O 95: _ 111: o 127: DEL</syntaxhighlight> |
||
=={{header|Brainf***}}== |
|||
{{trans|M2000 Interpreter}} |
|||
<syntaxhighlight lang="bf"> |
|||
> ++++++ ; 6 rows |
|||
> ++++ ++++ ++++ ++++ ; 16 columns |
|||
> ++++ ++++ ++++ ++++ ++++ ++++ ++++ ++++ ; 32: the starting character |
|||
<< ; move to row counter |
|||
[ |
|||
> ; move to the column counter |
|||
[> ; move to character |
|||
. ; print it |
|||
+ ; increase it |
|||
<- ; decrease the column counter |
|||
] |
|||
+++++ +++++.[-] ; print newline |
|||
++++ ++++ ++++ ++++ ; set column counter again |
|||
<-] ; decrease row counter and loop |
|||
</syntaxhighlight> |
|||
{{out}} |
|||
<pre> |
|||
!"#$%&'()*+,-./ |
|||
0123456789:;<=>? |
|||
@ABCDEFGHIJKLMNO |
|||
PQRSTUVWXYZ[\]^_ |
|||
`abcdefghijklmno |
|||
pqrstuvwxyz{|}~ |
|||
</pre> |
|||
=={{header|C}}== |
=={{header|C}}== |
||
{{trans|Go}} |
{{trans|Go}} |