dg icon indicating copy to clipboard operation
dg copied to clipboard

feature request: python-prompt-toolkit integration, and my try at it

Open vindarel opened this issue 7 years ago • 0 comments

Hi there,

some time ago I tried a bit at using the python prompt toolkit to enhance dg's repl experience. Indeed this projects makes it easy to have syntax highlighting, tooltip completions, history navigation and more.

I came up with https://gitlab.com/vindarel/ptdg (github mirror if you must), the basics work but it's unfinished, specially:

  • it doesn't catch errors, so the repl fails
  • it prints "None" after the results (that should be a minor stuff)

I think I didn't look how things are done in the dg repl soon enough, hence the limitations.

Just hoping this gives motivation to someone to do it. Even better would be a jupyter kernel, as referenced in another issue.

selection_131

vindarel avatar May 30 '17 16:05 vindarel