I guess I'm not clear who does what, e.g. do you start a REPL for the user?

If so, the `current-namespace` that's in effect when you call
`read-eval-print-loop` should probably come from doing
`(dynamic-require mp #f)` then the result of `(module->namespace mp)`
(where `mp` is a module path).  That same namespace is the one you'd
want to give to `namespace-mapped-symbols` for a list of completion
candidates.

p.s. Feel free to look at racket-mode code for ideas. However that's
accumulated a lot of moving parts; so I'm not sure if it's a great
example as a starting point.

p.p.s. Also see xrepl.

p.p.p.s. Although I'm tied up now through next week, I'd be happy to
hop on IRC or Slack or 1:1 email sometime after Feb 25, and talk
through ideas if that would help?

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to