jolt/src
Yogthos acf724b638 loader: share compile/interpret routing between load-ns and eval-one
Moves the per-form routing (compile when :compile?, stateful forms always
interpret, interpreter fallback for uncompilable forms) into loader as
eval-toplevel, used by both load-ns and api/eval-one. Previously load-ns's
compile path called compile-and-eval directly with no fallback and no
stateful-form handling, so it would have broken ns/require/defmacro under
compile-by-default.

Array forms whose head is not a symbol (e.g. ((fn ...) args)) compile like
any other call, matching the prior eval-one behavior.
2026-06-06 02:19:21 -04:00
..
jolt loader: share compile/interpret routing between load-ns and eval-one 2026-06-06 02:19:21 -04:00