Sandbox: Difference between revisions

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