Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context free REPL. #27

Open
ghost opened this issue Jun 17, 2012 · 4 comments
Open

Context free REPL. #27

ghost opened this issue Jun 17, 2012 · 4 comments

Comments

@ghost
Copy link

ghost commented Jun 17, 2012

As let is the only way to bind state, interactive development in the REPL becomes very cumbersome.
There is, for example, no way to start a process and save its Pid for later use, as a let context gets lost once the command has finished.

I have currently no solution for this but think it is noteworthy :).

@ericbmerritt
Copy link
Contributor

Thats a good point and something worth thinking about. Right now the repl is basically just interactive module creation. (I know it doesnt feel like that, but it actually is). But thats not really want you want. Let me think about this I may be able to come up with a solution. Maybe even an interesting one.

@kotedo
Copy link

kotedo commented Jan 7, 2013

Any progress on this issue? It would be nice to have a good REPL :)

@ericbmerritt
Copy link
Contributor

I have done a ton of work moving towards this goal, but I have not quite made it there. Also I have not had much time to work on Joxa of late. Hopefully, that will change soonish.

@ghost
Copy link
Author

ghost commented Feb 23, 2013

I think we could use the process dictionary for that.
Actually I don't think that writing

(put :foo (spawn bar))
(get :foo)

is that bad.
This would also cleanly keep the namespace as something that is constructed only by let and functions, instead of having something like defavailable at repl time but not at the code level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants