Anonymous user
Sandbox: Difference between revisions
m
→Testing new language tags: Squeeze some tags.
m (#ask gets an intro.) |
m (→Testing new language tags: Squeeze some tags.) |
||
Line 61:
==Testing new language tags==
===Z80===
<lang z80>; some random instructions
ld a, 80h
ld b, 9Ah
add a, b
adc a, a
rst 0 ; reboot :-)</lang>
===Whitespace===
<lang whitespace>This may not be a meaningful whitespace
program,
but it's
just a highlighting test
anyway.</lang>
===AviSynth===
<lang avisynth>AviSource("D:\clip.avi")
ConvertToYUY2()
PixieDust(5)</lang>
===POV-Ray===
<lang povray>#declare factorial = function(C) { prod(i, 1, C, i) }▼
▲#declare factorial = function(C) { prod(i, 1, C, i) }
#declare A = factorial(5);
sphere{0,A} // a sphere</lang>
===Text===
<lang text>Is this actually a programming language, or really just plain text?</lang>▼
▲Is this actually a programming language, or really just plain text?
===What happens if a language doesn't exist?===
<lang somelanguagethatdoesnotexist>some code
more code;
* a b -> c /// &a1 ->>> 778
(Probably this is an obfuscated language :-))</lang>
==Whitespace test with unicode ZERO WIDTH NO-BREAK SPACE character (U+FEFF)==
|