It is jvm centric but not class centric. I think something equivalent could be possible for js too
@cgrand self hosted js has a function which is called to resolve a namespace. I suspect you couldn't do the same for javascript objects though… or could you? Maybe on newer browsers you could with getter proxies…
in node you would need to hook into require
For some reason I'd been thinking about this in the context of someone running (foo.bar/baz) and not in terms of the actual contract which is (require)
right require
and js/require
I think there are some internals to js/require that one can tweak, as they're accessible.
https://github.com/eclipsesource/J2V8/issues/187 module._findPath or something.
Or you could do what everyone else does, override require
@pesterhazy so basic multiline editing and history is working but autodoc is half broken (does not always show up in multiline) and “up”/“down” are still mapped to history management
return is now inhibited when input is malformed or cursor not at the end
^R to force evaluation
hmm typing (without submitting) #=(java.lang.System/exit 0)
in unravel terminates the server