This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/examplefiles/csound/test.orc
Oleh Prypin 6f43092173
Also add auto-updatable output-based tests to examplefiles (#1689)
Co-authored-by: Georg Brandl <georg@python.org>
2021-01-20 10:48:45 +01:00

82 lines
1.1 KiB
Text

/*
* comment
*/
; comment
// comment
instr/**/1,/**/N_a_M_e_,/**/+Name/**///
iDuration = p3
outc:a(aSignal)
endin
opcode/**/aUDO,/**/i[],/**/aik//
aUDO
endop
123 0123456789
0xabcdef0123456789 0XABCDEF
1e2 3e+4 5e-6 7E8 9E+0 1E-2 3. 4.56 .789
"characters$MACRO."
"\\\a\b\n\r\t\012\345\67\""
{{
characters$MACRO.
}}
{{\\\a\b\n\r\t\"\012\345\67}}
+ - ~ ¬ ! * / ^ % << >> < > <= >= == != & # | && || ? : += -= *= /=
0dbfs A4 kr ksmps nchnls nchnls_i sr
do else elseif endif enduntil fi if ithen kthen od then until while
return rireturn
aLabel:
label2:
goto aLabel
reinit aLabel
cggoto 1==0, aLabel
timout 0, 0, aLabel
loop_ge 0, 0, 0, aLabel
prints "%! %% %n%N %r%R %t%T \\a\\A \\b\\B \\n\\N \\r\\R \\t\\T"
prints Soutput
readscore {{
i 1 0 0
}}
pyrun {{
# Python
}}
lua_exec {{
-- Lua
}}
#include/**/"file.udo"
#include/**/|file.udo|
#includestr/**/"$MACRO..udo"
#ifdef MACRO
#else
#ifndef MACRO
#endif
#undef MACRO
# define MACRO#macro_body#
#define/**/
MACRO/**/
#\#macro
body\##
#define MACRO(ARG1#ARG2) #macro_body#
#define/**/
MACRO(ARG1'ARG2'ARG3)/**/
#\#macro
body\##
$MACRO $MACRO.
$MACRO(x)
@0
@@ 1