Is there a way to address Maschine or Raktor using a script language?
No.
Reaktor is a visual dataflow environment with high level (Primary) and low level (Core) layers.
There are so many of alternative options for text based programming, I'm not sure why folk would want or need it in Reaktor. Why not use Juice and C++?
Are you asking for an API? For Maschine there is none… Under the hood Maschine uses LUA for hardware control scripts for example. Thats why there are things such as this, or this but those are user 'hacks'.
None of that applies to the M+ standalone as no one yet figured out how to access the data in the internal storage.
Im not an expert on Reaktor but afaik it has visual programming environment with the possibility of adding math for DSP.