fzyzcjy / dart_interactive

REPL (interactive shell) for Dart, supporting 3rd party packages, hot reload, and full grammar
https://github.com/fzyzcjy/dart_interactive
MIT License
217 stars 13 forks source link

Typing the name of a variable / function will now print its value ins… #48

Closed Keithcat1 closed 1 year ago

Keithcat1 commented 1 year ago

…tead of nothing. Fixes #47.

welcome[bot] commented 1 year ago

Hi! Thanks for opening this pull request! :smile:

fzyzcjy commented 1 year ago

@all-contributors please add @Keithcat1 for code

allcontributors[bot] commented 1 year ago

@fzyzcjy

I've put up a pull request to add @Keithcat1! :tada:

Quijx commented 1 year ago

Shouldn't every expression output its value and not just variables and functions? Or is that already what this PR will do?

fzyzcjy commented 1 year ago

@Quijx expressions already output values. e.g. >>> a+1 (where a is 10) print 11

Anyway, feel free to PR to add a few tests that you think you want the behavior

welcome[bot] commented 1 year ago

Hi! Congrats on merging your first pull request! :tada: