aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/Pygments/py3/pygments/lexers/_csound_builtins.py
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.ru>2022-02-10 16:44:30 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:30 +0300
commit2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch)
tree012bb94d777798f1f56ac1cec429509766d05181 /contrib/python/Pygments/py3/pygments/lexers/_csound_builtins.py
parent6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff)
downloadydb-2598ef1d0aee359b4b6d5fdd1758916d5907d04f.tar.gz
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/lexers/_csound_builtins.py')
-rw-r--r--contrib/python/Pygments/py3/pygments/lexers/_csound_builtins.py340
1 files changed, 170 insertions, 170 deletions
diff --git a/contrib/python/Pygments/py3/pygments/lexers/_csound_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_csound_builtins.py
index e7e395dc6a..f2fdef2774 100644
--- a/contrib/python/Pygments/py3/pygments/lexers/_csound_builtins.py
+++ b/contrib/python/Pygments/py3/pygments/lexers/_csound_builtins.py
@@ -2,83 +2,83 @@
pygments.lexers._csound_builtins
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-REMOVED_OPCODES = set('''
-OSCsendA
-beadsynt
-beosc
-buchla
-getrowlin
-lua_exec
-lua_iaopcall
-lua_iaopcall_off
-lua_ikopcall
-lua_ikopcall_off
-lua_iopcall
-lua_iopcall_off
-lua_opdef
-mp3scal_check
-mp3scal_load
-mp3scal_load2
-mp3scal_play
-mp3scal_play2
-pvsgendy
-socksend_k
-signalflowgraph
-sumTableFilter
-systime
-tabrowlin
-vbap1move
-'''.split())
-
-# Opcodes in Csound 6.16.0 using:
-# python3 -c "
-# import re
-# from subprocess import Popen, PIPE
-# output = Popen(['csound', '--list-opcodes0'], stderr=PIPE, text=True).communicate()[1]
-# opcodes = output[re.search(r'^\$', output, re.M).end() : re.search(r'^\d+ opcodes\$', output, re.M).start()].split()
-# output = Popen(['csound', '--list-opcodes2'], stderr=PIPE, text=True).communicate()[1]
-# all_opcodes = output[re.search(r'^\$', output, re.M).end() : re.search(r'^\d+ opcodes\$', output, re.M).start()].split()
+REMOVED_OPCODES = set('''
+OSCsendA
+beadsynt
+beosc
+buchla
+getrowlin
+lua_exec
+lua_iaopcall
+lua_iaopcall_off
+lua_ikopcall
+lua_ikopcall_off
+lua_iopcall
+lua_iopcall_off
+lua_opdef
+mp3scal_check
+mp3scal_load
+mp3scal_load2
+mp3scal_play
+mp3scal_play2
+pvsgendy
+socksend_k
+signalflowgraph
+sumTableFilter
+systime
+tabrowlin
+vbap1move
+'''.split())
+
+# Opcodes in Csound 6.16.0 using:
+# python3 -c "
+# import re
+# from subprocess import Popen, PIPE
+# output = Popen(['csound', '--list-opcodes0'], stderr=PIPE, text=True).communicate()[1]
+# opcodes = output[re.search(r'^\$', output, re.M).end() : re.search(r'^\d+ opcodes\$', output, re.M).start()].split()
+# output = Popen(['csound', '--list-opcodes2'], stderr=PIPE, text=True).communicate()[1]
+# all_opcodes = output[re.search(r'^\$', output, re.M).end() : re.search(r'^\d+ opcodes\$', output, re.M).start()].split()
# deprecated_opcodes = [opcode for opcode in all_opcodes if opcode not in opcodes]
-# # Remove opcodes that csound.py treats as keywords.
-# keyword_opcodes = [
-# 'cggoto', # https://csound.com/docs/manual/cggoto.html
-# 'cigoto', # https://csound.com/docs/manual/cigoto.html
-# 'cingoto', # (undocumented)
-# 'ckgoto', # https://csound.com/docs/manual/ckgoto.html
-# 'cngoto', # https://csound.com/docs/manual/cngoto.html
-# 'cnkgoto', # (undocumented)
-# 'endin', # https://csound.com/docs/manual/endin.html
-# 'endop', # https://csound.com/docs/manual/endop.html
-# 'goto', # https://csound.com/docs/manual/goto.html
-# 'igoto', # https://csound.com/docs/manual/igoto.html
-# 'instr', # https://csound.com/docs/manual/instr.html
-# 'kgoto', # https://csound.com/docs/manual/kgoto.html
-# 'loop_ge', # https://csound.com/docs/manual/loop_ge.html
-# 'loop_gt', # https://csound.com/docs/manual/loop_gt.html
-# 'loop_le', # https://csound.com/docs/manual/loop_le.html
-# 'loop_lt', # https://csound.com/docs/manual/loop_lt.html
-# 'opcode', # https://csound.com/docs/manual/opcode.html
-# 'reinit', # https://csound.com/docs/manual/reinit.html
-# 'return', # https://csound.com/docs/manual/return.html
-# 'rireturn', # https://csound.com/docs/manual/rireturn.html
-# 'rigoto', # https://csound.com/docs/manual/rigoto.html
-# 'tigoto', # https://csound.com/docs/manual/tigoto.html
-# 'timout' # https://csound.com/docs/manual/timout.html
-# ]
-# opcodes = [opcode for opcode in opcodes if opcode not in keyword_opcodes]
-# newline = '\n'
-# print(f'''OPCODES = set(\'''
-# {newline.join(opcodes)}
+# # Remove opcodes that csound.py treats as keywords.
+# keyword_opcodes = [
+# 'cggoto', # https://csound.com/docs/manual/cggoto.html
+# 'cigoto', # https://csound.com/docs/manual/cigoto.html
+# 'cingoto', # (undocumented)
+# 'ckgoto', # https://csound.com/docs/manual/ckgoto.html
+# 'cngoto', # https://csound.com/docs/manual/cngoto.html
+# 'cnkgoto', # (undocumented)
+# 'endin', # https://csound.com/docs/manual/endin.html
+# 'endop', # https://csound.com/docs/manual/endop.html
+# 'goto', # https://csound.com/docs/manual/goto.html
+# 'igoto', # https://csound.com/docs/manual/igoto.html
+# 'instr', # https://csound.com/docs/manual/instr.html
+# 'kgoto', # https://csound.com/docs/manual/kgoto.html
+# 'loop_ge', # https://csound.com/docs/manual/loop_ge.html
+# 'loop_gt', # https://csound.com/docs/manual/loop_gt.html
+# 'loop_le', # https://csound.com/docs/manual/loop_le.html
+# 'loop_lt', # https://csound.com/docs/manual/loop_lt.html
+# 'opcode', # https://csound.com/docs/manual/opcode.html
+# 'reinit', # https://csound.com/docs/manual/reinit.html
+# 'return', # https://csound.com/docs/manual/return.html
+# 'rireturn', # https://csound.com/docs/manual/rireturn.html
+# 'rigoto', # https://csound.com/docs/manual/rigoto.html
+# 'tigoto', # https://csound.com/docs/manual/tigoto.html
+# 'timout' # https://csound.com/docs/manual/timout.html
+# ]
+# opcodes = [opcode for opcode in opcodes if opcode not in keyword_opcodes]
+# newline = '\n'
+# print(f'''OPCODES = set(\'''
+# {newline.join(opcodes)}
# \'''.split())
#
# DEPRECATED_OPCODES = set(\'''
-# {newline.join(deprecated_opcodes)}
+# {newline.join(deprecated_opcodes)}
# \'''.split())
-# ''')
+# ''')
# "
OPCODES = set('''
@@ -200,7 +200,7 @@ STKBowed
STKBrass
STKClarinet
STKDrummer
-STKFMVoices
+STKFMVoices
STKFlute
STKHevyMetl
STKMandolin
@@ -227,25 +227,25 @@ adsyn
adsynt
adsynt2
aftouch
-allpole
+allpole
alpass
alwayson
ampdb
ampdbfs
ampmidi
-ampmidicurve
+ampmidicurve
ampmidid
-apoleparams
-arduinoRead
-arduinoReadF
-arduinoStart
-arduinoStop
+apoleparams
+arduinoRead
+arduinoReadF
+arduinoStart
+arduinoStop
areson
aresonk
atone
atonek
atonex
-autocorr
+autocorr
babo
balance
balance2
@@ -261,7 +261,7 @@ binit
biquad
biquada
birnd
-bob
+bob
bpf
bpfcos
bqrez
@@ -287,7 +287,7 @@ centroid
ceps
cepsinv
chanctrl
-changed
+changed
changed2
chani
chano
@@ -299,19 +299,19 @@ chn_k
chnclear
chnexport
chnget
-chngeta
-chngeti
-chngetk
+chngeta
+chngeti
+chngetk
chngetks
-chngets
+chngets
chnmix
chnparams
chnset
-chnseta
-chnseti
-chnsetk
+chnseta
+chnseti
+chnsetk
chnsetks
-chnsets
+chnsets
chuap
clear
clfilt
@@ -320,13 +320,13 @@ clockoff
clockon
cmp
cmplxprod
-cntCreate
-cntCycles
-cntDelete
-cntDelete_i
-cntRead
-cntReset
-cntState
+cntCreate
+cntCycles
+cntDelete
+cntDelete_i
+cntRead
+cntReset
+cntState
comb
combinv
compilecsd
@@ -346,8 +346,8 @@ cosinv
cosseg
cossegb
cossegr
-count
-count_i
+count
+count_i
cps2pch
cpsmidi
cpsmidib
@@ -373,11 +373,11 @@ ctrl14
ctrl21
ctrl7
ctrlinit
-ctrlpreset
-ctrlprint
-ctrlprintpresets
-ctrlsave
-ctrlselect
+ctrlpreset
+ctrlprint
+ctrlprintpresets
+ctrlsave
+ctrlselect
cuserrnd
dam
date
@@ -478,17 +478,17 @@ flashtxt
flooper
flooper2
floor
-fluidAllOut
-fluidCCi
-fluidCCk
-fluidControl
-fluidEngine
-fluidInfo
-fluidLoad
-fluidNote
-fluidOut
-fluidProgramSelect
-fluidSetInterpMethod
+fluidAllOut
+fluidCCi
+fluidCCk
+fluidControl
+fluidEngine
+fluidInfo
+fluidLoad
+fluidNote
+fluidOut
+fluidProgramSelect
+fluidSetInterpMethod
fmanal
fmax
fmb3
@@ -523,7 +523,7 @@ ftaudio
ftchnls
ftconv
ftcps
-ftexists
+ftexists
ftfree
ftgen
ftgenonce
@@ -540,9 +540,9 @@ ftresizei
ftsamplebank
ftsave
ftsavek
-ftset
+ftset
ftslice
-ftslicei
+ftslicei
ftsr
gain
gainslider
@@ -565,7 +565,7 @@ grain
grain2
grain3
granule
-gtf
+gtf
guiro
harmon
harmon2
@@ -673,10 +673,10 @@ la_i_multiply_mc
la_i_multiply_mr
la_i_multiply_vc
la_i_multiply_vr
-la_i_norm1_mc
-la_i_norm1_mr
-la_i_norm1_vc
-la_i_norm1_vr
+la_i_norm1_mc
+la_i_norm1_mr
+la_i_norm1_vc
+la_i_norm1_vr
la_i_norm_euclid_mc
la_i_norm_euclid_mr
la_i_norm_euclid_vc
@@ -771,10 +771,10 @@ la_k_multiply_mc
la_k_multiply_mr
la_k_multiply_vc
la_k_multiply_vr
-la_k_norm1_mc
-la_k_norm1_mr
-la_k_norm1_vc
-la_k_norm1_vr
+la_k_norm1_mc
+la_k_norm1_mr
+la_k_norm1_vc
+la_k_norm1_vr
la_k_norm_euclid_mc
la_k_norm_euclid_mr
la_k_norm_euclid_vc
@@ -806,12 +806,12 @@ la_k_upper_solve_mc
la_k_upper_solve_mr
la_k_vc_set
la_k_vr_set
-lag
-lagud
-lastcycle
+lag
+lagud
+lastcycle
lenarray
lfo
-lfsr
+lfsr
limit
limit1
lincos
@@ -855,8 +855,8 @@ loscilx
lowpass2
lowres
lowresx
-lpcanal
-lpcfilter
+lpcanal
+lpcfilter
lpf18
lpform
lpfreson
@@ -872,7 +872,7 @@ lpreson
lpshold
lpsholdp
lpslot
-lufs
+lufs
mac
maca
madsr
@@ -895,7 +895,7 @@ mdelay
median
mediank
metro
-metro2
+metro2
mfb
midglobal
midiarp
@@ -948,7 +948,7 @@ mp3scal
mp3sr
mpulse
mrtmsg
-ms2st
+ms2st
mtof
mton
multitap
@@ -958,7 +958,7 @@ mvclpf1
mvclpf2
mvclpf3
mvclpf4
-mvmfilter
+mvmfilter
mxadsr
nchnls_hw
nestedap
@@ -976,8 +976,8 @@ nrpn
nsamp
nstance
nstrnum
-nstrstr
-ntof
+nstrstr
+ntof
ntom
ntrpol
nxtpow2
@@ -1002,7 +1002,7 @@ oscils
oscilx
out
out32
-outall
+outall
outc
outch
outh
@@ -1103,9 +1103,9 @@ printk
printk2
printks
printks2
-println
+println
prints
-printsk
+printsk
product
pset
ptablew
@@ -1124,7 +1124,7 @@ pvsanal
pvsarp
pvsbandp
pvsbandr
-pvsbandwidth
+pvsbandwidth
pvsbin
pvsblur
pvsbuffer
@@ -1133,7 +1133,7 @@ pvsbufread2
pvscale
pvscent
pvsceps
-pvscfs
+pvscfs
pvscross
pvsdemix
pvsdiskin
@@ -1153,7 +1153,7 @@ pvsin
pvsinfo
pvsinit
pvslock
-pvslpc
+pvslpc
pvsmaska
pvsmix
pvsmooth
@@ -1255,7 +1255,7 @@ qinf
qnan
r2c
rand
-randc
+randc
randh
randi
random
@@ -1279,7 +1279,7 @@ remove
repluck
reshapearray
reson
-resonbnk
+resonbnk
resonk
resonr
resonx
@@ -1297,7 +1297,7 @@ rifft
rms
rnd
rnd31
-rndseed
+rndseed
round
rspline
rtclock
@@ -1310,17 +1310,17 @@ sc_lagud
sc_phasor
sc_trig
scale
-scale2
+scale2
scalearray
scanhammer
scans
scantable
scanu
-scanu2
+scanu2
schedkwhen
schedkwhennamed
schedule
-schedulek
+schedulek
schedwhen
scoreline
scoreline_i
@@ -1366,7 +1366,7 @@ sin
sinh
sininv
sinsyn
-skf
+skf
sleighbells
slicearray
slicearray_i
@@ -1402,16 +1402,16 @@ spat3d
spat3di
spat3dt
spdist
-spf
+spf
splitrig
sprintf
sprintfk
spsend
sqrt
squinewave
-st2ms
+st2ms
statevar
-sterrain
+sterrain
stix
strcat
strcatk
@@ -1427,7 +1427,7 @@ strfromurl
strget
strindex
strindexk
-string2array
+string2array
strlen
strlenk
strlower
@@ -1435,7 +1435,7 @@ strlowerk
strrindex
strrindexk
strset
-strstrip
+strstrip
strsub
strsubk
strtod
@@ -1450,7 +1450,7 @@ subinstrinit
sum
sumarray
svfilter
-svn
+svn
syncgrain
syncloop
syncphasor
@@ -1522,11 +1522,11 @@ transegr
trcross
trfilter
trhighest
-trigExpseg
-trigLinseg
+trigExpseg
+trigLinseg
trigger
-trighold
-trigphasor
+trighold
+trigphasor
trigseq
trim
trim_i
@@ -1538,8 +1538,8 @@ trshift
trsplit
turnoff
turnoff2
-turnoff2_i
-turnoff3
+turnoff2_i
+turnoff3
turnon
tvconv
unirand
@@ -1563,7 +1563,7 @@ vbapmove
vbapz
vbapzmove
vcella
-vclpf
+vclpf
vco
vco2
vco2ft
@@ -1612,7 +1612,7 @@ vpow
vpow_i
vpowv
vpowv_i
-vps
+vps
vpvoc
vrandh
vrandi
@@ -1652,7 +1652,7 @@ window
wrap
writescratch
wterrain
-wterrain2
+wterrain2
xadsr
xin
xout
@@ -1698,10 +1698,10 @@ maxtab
mintab
pop
pop_f
-ptable
-ptable3
-ptablei
-ptableiw
+ptable
+ptable3
+ptablei
+ptableiw
push
push_f
scalet
@@ -1720,7 +1720,7 @@ spectrum
stack
sumtab
tabgen
-tableiw
+tableiw
tabmap
tabmap_i
tabslice