Web REPL?

28 views
Skip to first unread message

Colin Howe

unread,
Apr 21, 2010, 3:54:59 AM4/21/10
to London Scala User Group
Hey guys,

Just a thought that has been buzzing around my head.

Has anyone ever considered a web interface for the REPL?

This could be a neat way to get new people to try Scala out without
any downloads needed. Might also be useful for quick demos of stuff.


Cheers,
Colin


--
Subscription settings: http://groups.google.com/group/scala-london/subscribe?hl=en

Rustem.Suniev

unread,
Apr 21, 2010, 4:24:20 AM4/21/10
to London Scala User Group
Do you mean something like that http://www.simplyscala.com?

Scot McSweeney-Roberts

unread,
Apr 21, 2010, 4:25:08 AM4/21/10
to scala-...@googlegroups.com
Have you checked out Google's Lord of the REPLs (which includes Scala,
amongst other JVM languages)?

http://lotrepls.appspot.com/

And a blog post about it is here:
http://googleappengine.blogspot.com/2009/04/many-languages-and-in-runtime-bind-them.html


Scot

Kevin Wright

unread,
Apr 21, 2010, 4:33:13 AM4/21/10
to scala-...@googlegroups.com
On the other hand, there's no canonical swing-based REPL yet, most seem to favour shelling out to Scala then wrapping the input/output streams.


It shouldn't actually be too difficult, but it would need scala.swing.text.* - which hasn't yet been ported!  I do intend to revisit this little gem at some point.  Alternatively we could see if it gets accepted for GSoC, I believe there was a proposal submitted to improve scala.swing.

--
Kevin Wright

mail/google talk: kev.lee...@googlemail.com
wave: kev.lee...@googlewave.com
skype: kev.lee.wright
twitter: @thecoda

Colin Howe

unread,
Apr 21, 2010, 9:37:50 AM4/21/10
to London Scala User Group
Lord of the REPLs certainly has a nice interface. Shame it doesn't
retain intermediate results like simplyscala does...

Both are nice though :-)



On Apr 21, 9:25 am, Scot McSweeney-Roberts
<maethorechan...@googlemail.com> wrote:
> Have you checked out Google's Lord of the REPLs (which includes Scala,
> amongst other JVM languages)?
>
> http://lotrepls.appspot.com/
>
> And a blog post about it is here:http://googleappengine.blogspot.com/2009/04/many-languages-and-in-run...

Richard Dallaway

unread,
Apr 22, 2010, 6:21:34 AM4/22/10
to scala-...@googlegroups.com
On 21 April 2010 09:24, Rustem.Suniev <vig...@gmail.com> wrote:
Do you mean something like that http://www.simplyscala.com?

Something like that would indeed be very useful for demos. 

I've noticed code demos where all the action happens in a terminal at the bottom of the screen. People at the back of the room then need to stand up to see what you're typing :-/  (Yes, I am guilty of this). 

So having this kind of display would probably be a great help in making demos easier to see.

Richard
 
Reply all
Reply to author
Forward
0 new messages