rogeriodec
CAL Script is a language abandoned by Cakewalk for many years.
If was not extended for many years, but it is still there and working. So it is not "abandoned".
It is poorly documented and has a sometimes illogical behavior.
Google shows many links, f.e.
http://dgcardenas.fpmit.com/cal/
The programming structure is complicated and is not user friendly at all.
I've been programming for over 34 years in many languages, but I'm having a hard time learning CAL Scripts.
May be LISP nor something else with (prefix/postfix) Polish notation is not in your list of "many languages"...
Normally programmers can use any language, as musicians normally have no problem to write a song in Dm instead of Am (as long as the music is 12 notes based, computers still have the same ~100 operations as they had 50 years ago).
In former times, computer languages was more computer then human oriented. It was important that computers interpret/compile/execute the program fast. That was changed once good programmers become more expensive then computers. As the result, end users benefits from cheap hardware and software but suffer from the quality of both (in terms of execution time and bugs).
CAL pro:
1) easy to call in Sonar, can be assigned to some keyboard shortcut
2) can work with several tracks, but there are quite some bugs in this mode
CAL cons:
1) offline processing only, it is impossible to tweak parameters in real time listening the result
2) relatively slow execution
There are other ways to do MIDI processing, MIDI FX, but pro and cons are reversed. Especially since most MIDI FXes are VST based and can be used as "Synth" only in Sonar (not in MIDI FX bin). But since other DAWs support such plug-ins on tracks, there are plenty of them, including a broad range of scripting languages.
There is only one Sonar oriented script based MIDI FX, written by... me

Is is Lua based. So far no-one is using it...