yaegi icon indicating copy to clipboard operation
yaegi copied to clipboard

Syntax Highlighting

Open shibumi opened this issue 4 years ago • 7 comments

Proposal

I'm a big fan of ipython. ipython has syntax highlighting. It looks like this:

ipython screenshot

Would be cool if yaegi could support this as well, although It hink that this will maybe crash when rlwrap is being used.

Background

Colors are nice.. mhhhhkaaay.

Workarounds

No, current workaround.

shibumi avatar Dec 07 '19 17:12 shibumi

off-topic

@shibumi could you explain why you deleted the AUR of yaegi?

Shibumi [1] deleted yaegi [2].

You will no longer receive notifications about this package.

[1] https://aur.archlinux.org/account/Shibumi/ [2] https://aur.archlinux.org/pkgbase/yaegi/

ldez avatar Dec 09 '19 00:12 ldez

@ldez because I have pushed the package to community: https://www.archlinux.org/packages/community/x86_64/yaegi/

If you are on Arch you can install it via pacman -Syu yaegi now.

shibumi avatar Dec 09 '19 00:12 shibumi

ok thank you for the explanation.

ldez avatar Dec 09 '19 00:12 ldez

screenshot link is broken

ashneverdawn avatar Dec 17 '19 18:12 ashneverdawn

@ashneverdawn Thanks, I have updated the screenshot with a ipython screenshot from their documentation.

EDIT: The autocomplete feature of ipython is pretty neat as well.

shibumi avatar Dec 17 '19 21:12 shibumi

nice but im looking forward to lua and javascripts also C++

ghost avatar Jun 25 '20 23:06 ghost

I just drop another link to rebel-readline, a pretty solid Clojure readline library with syntax-highlighting, auto-completion and inline documentation: https://asciinema.org/a/160597

I would love to see syntax-highlighting and auto-completion being integrated into yaegi!

julianthome avatar Sep 17 '20 12:09 julianthome