YS Internals Library
This library serves 2 purposes. It provides functions for working with YS code from within a YS program/file.
It also provides functions that are wrappers around common Clojure functions so that they can be used in places where functions are not allowed; like in dot chaining operations.
You can use these functions with the ys/ (or ys::ys/) prefix.
YS Functionsπ
-
compileβ Compile a YS string to a Clojure string -
evalβ Evaluate a YS string -
load-fileβ Load a YS file path -
load-podβ Load a Babashka Pod -
unload-podsβ Unload all loaded pods -
useβ Use a YS or Clojure library found inYSPATH. Normally called asuse, notys/use.
Macro Wrapper Functionsπ
forβ An eager version of Clojure's lazyformacroifβ Wrapper around the Clojureifspecial formwhenβ Wrapper around the Clojurewhenmacro