The first part doesn't intrigue me at all, because I can easily import an objective C-class into an AppleScriptObjectC app.
I guess something like that works for Swift as well.
AppleScript in itself, can't do that, but I can call everything that is in Say Foundation, and the other frameworks (AppleScript version 2.3), and AppleScript is quite SmallTalkish. ;)