On 8/9/2016 3:13 AM, Guyren Howe wrote:
Is there any way to separate the running Racket code from the IDE that is 
authoring it?

What I'd like is something like a Smalltalk image, that packages code and 
state, but it runs whether or not I'm connected to it; when I'm connected, I 
can edit, debug, use breakpoints etc with the values and code on the server. 
And I can disconnect and it just keeps going.

How close to that can I get with Racket? If I can't get that, is there some 
close alternative with a nice web IDE or at least API?


I'm not a Racket expert, but I don't think there's an easy way to do it.

Racket isn't image based in the same sense as Smalltalk: I'm not aware of a way to save/restore the runtime state without the need to design in serialization of your data structures. Likewise, if you want to edit the running program, I think you need somehow to design in that ability.

Racket does have a (simple) COM interface - at least on Windows - that could be used to implement remote access to a running program, but I'm not familiar with it and I don't know whether it's compatible with DCOM [for remote access from another machine]. And I don't think it works on Unix/Linux.

A number of Lisps provide ways to save/restore the runtime state, but how is implementation dependent - AFAIK it is not a requirement of Common Lisp. However, there is a remote access package called SLIME available for many implementations. SLIME provides a client for Emacs - I'm not aware of others, but the API is open so you could write your own if needed.

Maybe someone else has better information,
George

--
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