REPL for dartlang

后端 未结 4 1729
独厮守ぢ
独厮守ぢ 2021-01-07 19:29

Is there a REPL for Dart to experiment with?

I tried inputing dart code in devtools in Dartium and that also didn\'t work.

So I couldn\'t find an easy way t

4条回答
  •  隐瞒了意图╮
    2021-01-07 19:46

    Though it is not really a REPL, you may find the Try Dart online tool useful for playing around. It's a bit slow, since it is actually compiling the Dart code to JavaScript in order to have it work within the browser.

    There is also a console that someone built, which is probably better if you're looking for a real REPL, but it requires a bit of setup.

提交回复
热议问题