You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2019. It is now read-only.
One thing Oxcart was never able to do was support multimethods because as implemented in Clojure they fundimentally rely on a mutable indirection mechanism for dynamic installation of dispatch to function values. Since Oxcart tried to throw away all top level imperative forms and escape load order, this doesn't fly which does nobody any good and restricts the subset of Clojure which Oxcart can compile.
A happy medium could probably be reached by emitting namespaces as a class, having either a cinit or a concrete init method which sequentially invokes the static fns compiled from and for top level forms. Not ideal of course but a workable implementation.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
One thing Oxcart was never able to do was support multimethods because as implemented in Clojure they fundimentally rely on a mutable indirection mechanism for dynamic installation of dispatch to function values. Since Oxcart tried to throw away all top level imperative forms and escape load order, this doesn't fly which does nobody any good and restricts the subset of Clojure which Oxcart can compile.
A happy medium could probably be reached by emitting namespaces as a class, having either a cinit or a concrete init method which sequentially invokes the static fns compiled from and for top level forms. Not ideal of course but a workable implementation.
The text was updated successfully, but these errors were encountered: