A C++ interpreter
bearophile
bearophileHUGS at lycos.com
Sun Aug 12 16:56:01 PDT 2012
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
More information about the Digitalmars-d
mailing list