D's features also lead to easy integration with dynamic languages. It can host a dynamic type as well as dynamic objects.
script.d from the following website:
Build your program with all three files on the command line, as follows:
dmd yourfile.d jsvar.d script.d