ClojureCLR looks for a specially named init type when loading a namespace from a compiled dll file. For compatibility and simplicity MAGIC should produce the same thing.
for a namespace named foo ClojureCLR produces the following
The contents of Initialize are currently designed to work with our namespace load optimization but we can skip that for now and emit the expression method invocations that MAGIC currently uses instead.
ClojureCLR looks for a specially named init type when loading a namespace from a compiled dll file. For compatibility and simplicity MAGIC should produce the same thing.
for a namespace named
foo
ClojureCLR produces the followingThe contents of
Initialize
are currently designed to work with our namespace load optimization but we can skip that for now and emit the expression method invocations that MAGIC currently uses instead.