Expand description
Built-in standard library namespaces for clojurust.
Registers clojure.string, clojure.set, and clojure.test into a
GlobalEnv so they are available via (require ...) without needing
source files on disk.
§Entry points
standard_env()— full environment for thecljrsbinarystandard_env_with_paths()— same, plus user source pathsregister()— add stdlib to an existing env (e.g. for testing)
Modules§
- io
- Native implementations for
clojure.rust.io.
Functions§
- register
- Register all built-in stdlib namespaces into
globals. - standard_
env - Create a
GlobalEnvwith all built-ins and stdlib registered. - standard_
env_ with_ paths - Like
standard_env()but also sets user source paths forrequire. - standard_
env_ with_ paths_ and_ config - Like
standard_env_with_paths()but also sets GC configuration.