dart_repl icon indicating copy to clipboard operation
dart_repl copied to clipboard

Dart 2.1

Open amadeu01 opened this issue 5 years ago • 8 comments

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 ?

amadeu01 avatar Dec 20 '18 13:12 amadeu01

Is there any chance of support Dart 2.2 ?

zhaohansprt avatar May 08 '19 04:05 zhaohansprt

I think this is abandoned. I forked it to make a few updates and I don't think I got it working.

ThinkDigitalSoftware avatar Jul 09 '19 05:07 ThinkDigitalSoftware

@ThinkDigitalSoftware are there any working REPL solutions out there currently?

venkatd avatar Aug 01 '19 09:08 venkatd

I haven't seen any.

ThinkDigitalSoftware avatar Aug 01 '19 19:08 ThinkDigitalSoftware

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

> 

liudonghua123 avatar Feb 28 '20 09:02 liudonghua123

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.

maks avatar Jan 12 '21 09:01 maks

Any luck with Dart >=2.3.1 <3.0.0?

Marflage avatar Aug 18 '21 21:08 Marflage

https://github.com/fzyzcjy/dart_interactive (REPL (interactive shell) for Dart, supporting 3rd party packages, hot reload, and full grammar) supports latest Dart version

fzyzcjy avatar Oct 23 '22 03:10 fzyzcjy