JavaScript bindings

Ursa can use the facilities of the underlying JavaScript system. There is a general-purpose mechanism for binding globals and importing libraries.

use js

use jslib offers a generic interface to JavaScript gloabls. use js.foo binds JavaScript global foo to the identifier foo.

use jslib

use jslib offers a generic interface to JavaScript libraries. use jslib.foo imports the library foo and binds it to the identifier foo.