diff options
author | Nate Whetsell <nathan.whetsell@gmail.com> | 2021-06-20 06:17:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-20 12:17:31 +0200 |
commit | 94dda680a618d766b6ea148e404f5b9de2a05043 (patch) | |
tree | 9a35538b95539eb357cce30de388d65f75f2b6ec /pygments/lexers/_csound_builtins.py | |
parent | d421a221b8454a57e04e13ee9168d8005a21a679 (diff) | |
download | pygments-git-94dda680a618d766b6ea148e404f5b9de2a05043.tar.gz |
Update for Csound 6.16.0 (#1837)
* Update for Csound 6.16.0
* Preserve removed Csound built-ins
Diffstat (limited to 'pygments/lexers/_csound_builtins.py')
-rw-r--r-- | pygments/lexers/_csound_builtins.py | 69 |
1 files changed, 55 insertions, 14 deletions
diff --git a/pygments/lexers/_csound_builtins.py b/pygments/lexers/_csound_builtins.py index 89fcb66b..e7e395dc 100644 --- a/pygments/lexers/_csound_builtins.py +++ b/pygments/lexers/_csound_builtins.py @@ -6,7 +6,35 @@ :license: BSD, see LICENSE for details. """ -# Opcodes in Csound 6.14.0 using: +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 @@ -209,6 +237,7 @@ ampmidicurve ampmidid apoleparams arduinoRead +arduinoReadF arduinoStart arduinoStop areson @@ -216,6 +245,7 @@ aresonk atone atonek atonex +autocorr babo balance balance2 @@ -223,8 +253,6 @@ bamboo barmodel bbcutm bbcuts -beadsynt -beosc betarand bexprnd bformdec1 @@ -259,6 +287,7 @@ centroid ceps cepsinv chanctrl +changed changed2 chani chano @@ -293,6 +322,8 @@ cmp cmplxprod cntCreate cntCycles +cntDelete +cntDelete_i cntRead cntReset cntState @@ -342,6 +373,11 @@ ctrl14 ctrl21 ctrl7 ctrlinit +ctrlpreset +ctrlprint +ctrlprintpresets +ctrlsave +ctrlselect cuserrnd dam date @@ -523,7 +559,6 @@ getcfg getcol getftargs getrow -getrowlin getseed gogobel grain @@ -776,6 +811,7 @@ lagud lastcycle lenarray lfo +lfsr limit limit1 lincos @@ -836,14 +872,6 @@ lpreson lpshold lpsholdp lpslot -lua_exec -lua_iaopcall -lua_iaopcall_off -lua_ikopcall -lua_ikopcall_off -lua_iopcall -lua_iopcall_off -lua_opdef lufs mac maca @@ -920,6 +948,7 @@ mp3scal mp3sr mpulse mrtmsg +ms2st mtof mton multitap @@ -929,6 +958,7 @@ mvclpf1 mvclpf2 mvclpf3 mvclpf4 +mvmfilter mxadsr nchnls_hw nestedap @@ -972,6 +1002,7 @@ oscils oscilx out out32 +outall outc outch outh @@ -1279,11 +1310,13 @@ sc_lagud sc_phasor sc_trig scale +scale2 scalearray scanhammer scans scantable scanu +scanu2 schedkwhen schedkwhennamed schedule @@ -1333,6 +1366,7 @@ sin sinh sininv sinsyn +skf sleighbells slicearray slicearray_i @@ -1368,12 +1402,14 @@ spat3d spat3di spat3dt spdist +spf splitrig sprintf sprintfk spsend sqrt squinewave +st2ms statevar sterrain stix @@ -1414,6 +1450,7 @@ subinstrinit sum sumarray svfilter +svn syncgrain syncloop syncphasor @@ -1454,7 +1491,6 @@ tabmorphak tabmorphi tabplay tabrec -tabrowlin tabsum tabw tabw_i @@ -1486,6 +1522,8 @@ transegr trcross trfilter trhighest +trigExpseg +trigLinseg trigger trighold trigphasor @@ -1500,6 +1538,8 @@ trshift trsplit turnoff turnoff2 +turnoff2_i +turnoff3 turnon tvconv unirand @@ -1523,6 +1563,7 @@ vbapmove vbapz vbapzmove vcella +vclpf vco vco2 vco2ft @@ -1611,6 +1652,7 @@ window wrap writescratch wterrain +wterrain2 xadsr xin xout @@ -1647,7 +1689,6 @@ DEPRECATED_OPCODES = set(''' array bformdec bformenc -changed copy2ftab copy2ttab hrtfer |