sci icon indicating copy to clipboard operation
sci copied to clipboard

Configurable Clojure/Script interpreter suitable for scripting and Clojure DSLs

Results 47 sci issues
Sort by recently updated
recently updated
newest added

When libraries do something like this: https://github.com/weavejester/integrant/blob/32a46f5dca8a6b563a6dddf88bec887be3201b08/test/integrant/core_test.cljc#L102-L104 a namespace should be reloaded when it's required again.

As a follow up to #774, it has come up that users want to request a stack trace at the point of execution, just for debugging / printing. To facilitate...

Repro: ``` clojure (loop [x 1 y 2 z 3] (if (< x 5) (recur (unchecked-inc x) x y z))) ```

``` bb -e "(deftype RingBuffer [head tail] Object (pop [_]))" ----- Error -------------------------------------------------------------------- Type: clojure.lang.ExceptionInfo Message: Could not resolve symbol: sci.impl.records/pop Phase: analysis ``` Same with `nbb`. Error in Clojure...

See https://github.com/babashka/babashka/issues/1409 The issue here is that `clojure.lang.Reflector` looks at the runtime values of arguments but if such a value is `nil` it qualifies as basically anything. It might be...

Implementing `IFn` on records seems to be a common idiom, perhaps common enough to have hard-coded support for it in SCI's defrecord support. See: https://github.com/babashka/babashka/issues/1386