A C++ interpreter

Marco Leise Marco.Leise at gmx.de
Sun Aug 12 20:05:04 PDT 2012


Am Mon, 13 Aug 2012 01:56:01 +0200
schrieb "bearophile" <bearophileHUGS at lycos.com>:

> This not at the top of my enhancement request list, but having 
> something like this shared by all D compilers seems a step 
> forward for D:
> 
> http://blog.coldflake.com/posts/2012-08-09-On-the-fly-C%2B%2B.html
> 
> I use the Python shell all the time, for things like:
> - As a calculator able to do basic things;
> - to import files and process them on the fly in some ways (some 
> of the things that are also doable with Unix shell commands);
> - importing libraries to do lot of things, like graphing with 
> matPlotLib;
> - To try and fix lines/snippets of code to integrate in Python 
> programs;
> - To try things that later I will put inside unit tests 
> (especially doctests);
> - To import whole modules from the shell and try them, to see if 
> they work, to understand how they need to be used, to try ideas 
> to debug them, and so on.
> 
> There is a shell in Scala too:
> http://www.scala-lang.org/node/166
> 
> Bye,
> bearophile

Man, and I've been using JavaScript and a browser to prototype...
While that's true, I also have a project called 'test' always open in MonoDevelop, so this is my ready to use main function. Sometimes I copy that code over into proper module, if it looks generally useful.

-- 
Marco



More information about the Digitalmars-d mailing list