AutoCad nowadays uses .NET as well, and thus any CLR enabled language, with a MSIL backend.
https://help.autodesk.com/view/OARX/2024/ENU/?guid=GUID-390A...
https://help.autodesk.com/view/OARX/2024/ENU/?guid=GUID-390A...
It was the only language available at the time suitable for embedding. Memory-safe, small interpreter, sane. Alternatives were Forth and TRAC, which would have been much worse. Pascal would have been better, but it was too hard to squeeze in. The program and data had to fit in 640K. The program was built as a tree of overlays and code was swapped in, so less used code wasn't resident. But it was a cram job.
(I did some AutoCAD ports and drivers.)
It was later used by a small computer graphics studio in Tennessee for a blue/green screen matting utility and a fast roto-paint program.