Having done a number of projects in python and node.js, I am missing an interactive interpreter/console in dart that those languages, as well as other like ruby, provide so nicely.
Tests, logging, debuggers, profilers are the instruments we use in application development while digging into issues or trying things out. But in scripting, in server side scripting, it is the interpreter that is the primary tool to try things out. Having experience from both, software development with a long list of languages and a number of scripting domains (python and bash for admin functions, node for http request evaluation, R for data analysis etc.), I fail to see how, if server side scripting is to be taken seriously, any language not providing an interpreter/console can hope for any sensible share of the pie.
Is dart not intended for scripting or am I just missing something obvious?
PS. There is (was) one project addressing the issue, but it did not see any development for the past 3 years: https://github.com/sam-mccall/dart-console
As far as I know the REPL for the Dart language was not originally planned by the development team. The discussion on the REPL took place back in 2012 with no real outcome:
Github: Dart needs a REPL
So the answer is, there exists no interactive interpreter/console for Dart and it does not look like there are any plans to create one.
Observaory, Dartium, and WebStorm debugger allow to interactively execute Dart code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With