Getting started with REPL, iOS

143 views
Skip to first unread message

Gregory Wieber

unread,
Mar 26, 2013, 6:12:03 PM3/26/13
to program...@googlegroups.com
Hi everyone. Just dipping my toes in the water here. There seems to be a dead link / abandoned REPL for iOS project. Wondering if there's anything active out there to accomplish this? Is this something the Nu anywhere project would be capable of doing?

I was hoping to do some interactive development with the simulator.

Second -- in the nu shell, once you've defined an instance method, is it possible to remove it?

Johannes Goslar

unread,
Mar 27, 2013, 9:26:18 AM3/27/13
to program...@googlegroups.com
Hi Gregory,
my nu fork has(had?) a patched console which you can connect to objects in the iOS Simulator: https://github.com/ksjogo/nu
I even attached nutron to it: http://www.youtube.com/watch?v=w09tpYFD3Sg

Cheers
Johnny
> --
> You received this message because you are subscribed to the Google Groups "Programming Nu" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to programming-n...@googlegroups.com.
> To post to this group, send email to program...@googlegroups.com.
> Visit this group at http://groups.google.com/group/programming-nu?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

Gregory Wieber

unread,
Mar 27, 2013, 1:36:06 PM3/27/13
to program...@googlegroups.com
Thanks for the reply. Based on other posts I've read, it sounds like forking your repo is the way to go for Xcode compatibility and iOS blocks.

I didn't see anything related to an iOS console. Do you remember what you did? Mainly I'm wondering if the console was running in a shell separate from the simulator or if you actually embedded a running console inside the app (both are of interest to me, but I'd like to start with remote REPL to build out some basic functionality)

Johannes Goslar

unread,
Mar 28, 2013, 6:40:39 PM3/28/13
to program...@googlegroups.com
The console was a standalone app which connected to the simulator via mach(?) socket/the apple provided objc rpc way to get remote objects to whom you then can send messages (objc is great!). Details should be in one of my commits.
Nutron probably did the same.

My repo is not synced with Tims latest changes and I messed up some other targets. One probably should grep Tims head and handishly apply my good changes and make a pull request on main repo.

On Monday I will try to allocate time for this.

Kind Regards
Johnny

On 27.03.2013, at 18:36, Gregory Wieber <gregor...@gmail.com> wrote:

> Thanks for the reply. Based on other posts I've read, it sounds like forking your repo is the way to go for Xcode compatibility and iOS blocks.
>
> I didn't see anything related to an iOS console. Do you remember what you did? Mainly I'm wondering if the console was running in a shell separate from the simulator or if you actually embedded a running console inside the app (both are of interest to me, but I'd like to start with remote REPL to build out some basic functionality)
>

Gregory Wieber

unread,
Apr 6, 2013, 11:41:31 PM4/6/13
to program...@googlegroups.com
Brilliant, thanks for the info.

I'll be messing around with Tim's repo to get acclimated. My goal is to get some basic iOS sample app running and then build from there :)

I'm familiar with Mach ports, but haven't touched them before, so that will be a good area to explore as well. 
Reply all
Reply to author
Forward
0 new messages