repl

Online Interactive Consoles

Where can I find an online interactive console for my favorite language/api? Ruby Python? PHP? Perl? Scheme? Java? C? ...

Have you used any of the C++ interpreters (not compilers)?

I am curious if anyone have used UnderC, Cint, and Ch (or any other C++ interpreter) and could share their experience. Thanks everyone for your valuable input. /Allan ...

Is there any way to get a REPL in pydev?

I would like to be able to drop to the python REPL from the debugger -- if this is not possible is there an easier way to evaluate python expressions in the context of the current breakpoint other than manually adding them all as watch expressions? ...

Actionscript 3 REPL

Is there a REPL (Read-Eval-Print Loop) available anywhere for Actionscript 3? I could not find anything on google, but it would really come in handy. ...

C# Console/CLI Interpreter?

I wonder if there is something like a standalone Version of Visual Studios "Immediate Window"? Sometimes I just want to test some simple stuff, like "DateTime.Parse("blah")" to see if that works. But everytime i have to create a new console application, put in my code and test it. The Immediate Window sadly only works when I am debuggin...

Is there something like python's interactive REPL mode, but for Java?

Is there something like python's interactive REPL mode, but for Java? So that I can, for example, type InetAddress.getAllByName( localHostName ) in a window, and immediately get results, without all this public static void nightmare() thing? Thanks ...

How to save all functions I entered in LispBox/Slime?

Situation: I entered several functions while working with REPL in Emacs. Problem: There is junk like "; Evaluation aborted" when I'm simply saving buffer. What I want: clear descriptions of all the functions I entered in their latest revision. Can I do that? Thanks. ...

How to implement a python REPL that nicely handles asynchronous output?

I have a Python-based app that can accept a few commands in a simple read-eval-print-loop. I'm using raw_input('> ') to get the input. On Unix-based systems, I also import readline to make things behave a little better. All this is working fine. The problem is that there are asynchronous events coming in, and I'd like to print output as...

Is there an interpreter for C?

Duplicate: http://stackoverflow.com/questions/69539/have-you-used-any-of-the-c-interpreters-not-compilers/ I was wondering if there is something like an interpreter for C. That is, in a Linux terminal I can type in "python" and then code in that interpreter. (I'm not sure interpreter the right word). This is really helpful for testin...

Is there a command line interface or an interpreter for running .net code?

I need it, but don't want to reinvent hot water. Question by example, syntax just as possible example : .net> load myLibrary.dll myLibrary.dll loaded .net> Person p "John" "Doo" 32 Instance of myLibrary.Person created (p) .net> print p.Age 32 So I'm looking for a commandline interface to access the public methods and properties of...

Make Emacs use UTF-8 with Python Interactive Mode

When I start Python from Mac OS' Terminal.app, python recognises the encoding as UTF-8: $ python3.0 Python 3.0.1 (r301:69556, May 18 2009, 16:44:01) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.stdout.encoding 'UTF-8' This works the same fo...

What program can help a REPL shell remember and search history?

I'm playing with Paul Graham's arc, and it's getting really annoying that the up arrow inserts ^[[A instead of the previous command, and ^R doesn't work as in shell. I vaguely remember there being a simple way to run Arc's REPL in a program which will remember the input history - does anyone know what it is? ...

Python REPL for a running process

I am currently developing a simple application in python that connects to a server. At the moment, it's single-threaded (as multithreading is not currently required). However I would like - for debugging, maintenance and such to also be able to have a REPL via stdin. How do I go about that, if possible? Will I need to keep anything in ...

Anders Hejlsberg's C# 4.0 REPL

During the last 10 minutes of Ander's talk The Future of C# he demonstrates a really cool C# Read-Eval-Print loop which would be a tremendous help in learning the language. Several .NET4 related downloads are already available: Visual Studio 2010 and .NET Framework 4.0 CTP, Visual Studio 2010 and .NET Framework 4 Training Kit. Do you kn...

c# execute a string as code

Here is what i want to do, and i know it is possible with perl, php, python and java, but i am working with c# how can i do the following: public void amethod(string functionName) { AVeryLargeWebServiceWithLotsOfMethodsToCall.getFunctionName(); } I want to pass the functionName to the method and I want it to be executed as above....

Clojure Development: IDE or REPL?

I've been using Clojure for a little while and want to create some projects that are bigger and more complicated than toys. I've been using Java for the past few years and have become accustomed to what IDEs do for me -- compile lots of classes, package them up in jars, create batch files for users to start them with. When I look at exa...

How can I abort an evaluation in Clojure Box (Emacs)?

I've been caught up in long running computations lately thanks to Project Euler and I'd like to know how to abort an evaluation and return to the REPL prompt. I'm running the standard Clojure Box version of Emacs. I tried the obvious REPL > Interrupt Lisp Process and Slime > Interrupt Command but neither kill the execution and return my ...

How can I use the Clojure REPL together with Qt Jambi?

I have not found a solution to use the Clojure REPL with Qt on the web. Basically the problem is that the REPL hangs as soon as you call QApplication/exec in order to get the UI to display. You cannot C-c C-c back into the REPL, and closing the active Qt window seems to kill the whole Clojure process. Now simply calling QApplication/pro...

scala: tracing implicits selection and other code magics

When trying to figure how a library works, implicit conversions are confusing. For example, looking at an expression like 'val foo: Foo = 1', what converts 1 to Foo? Is it possible to instruct the scala library (or REPL) to print out the code paths that are executing while evaluating an expression? ...

Is there a site which offers an interactive F# shell?

Is there a site like try ruby that allows one to experiment in an F# interactive shell? I'd like to try a few commands without installing Visual Studio or Mono. ...