dart_repl
dart_repl copied to clipboard
Dart 2.1
I tried to install dart_repl and I got:
Resolving dependencies...
The current Dart SDK version is 2.1.0.
Because pub global activate depends on dart_repl any which requires SDK version >=1.0.0 <2.0.0, version solving
failed.
Is there any chance of support Dart 2.1
?
Is there any chance of support Dart 2.2 ?
I think this is abandoned. I forked it to make a few updates and I don't think I got it working.
@ThinkDigitalSoftware are there any working REPL solutions out there currently?
I haven't seen any.
I have the same issue.
> flutter pub global activate dart_repl
Resolving dependencies...
The current Dart SDK version is 2.7.0.
Because pub global activate depends on dart_repl any which requires SDK version >=1.0.0 <2.0.0, version solving failed.
pub finished with exit code 1
>
I've made a Gist with basic working repl based on the great work of this package and others, but updated to work with the vm_service
package and current version of Dart: sdk: ">=2.10.0 <3.0.0"
https://gist.github.com/maks/4643e49b5afb86459fc75047a8578556
It's only a very minimal implementation as I only need basic expression handling for the project that I wrote this for but hopefully the Gist might help those who would like to update this package to work with current version of Dart and vm service.
Any luck with Dart >=2.3.1 <3.0.0?
https://github.com/fzyzcjy/dart_interactive (REPL (interactive shell) for Dart, supporting 3rd party packages, hot reload, and full grammar) supports latest Dart version