Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to jline3 #2063

Open
wants to merge 31 commits into
base: main
Choose a base branch
from
Open

Migrate to jline3 #2063

wants to merge 31 commits into from

Conversation

DavyLandman
Copy link
Member

@DavyLandman DavyLandman commented Oct 24, 2024

This PR migrates the REPL to jline3, numerous issues are solved, but it also required a redesign of all the REPL classes.

This breaks some stuff, which could not be avoided. The most noticeble is that all Input&OutputStreams were removed from the evaluator. That was (in hindsight) not a good design choice, as they are about bytes, while we want to print text. This gets messy when we have to figure out which charset we should write to the stream.

Todo's:

  • add back ctrl+/ support
  • add back "measure time feature"
  • test that the nested REPL work
  • fix a few bugs around the progress bar when recovering prints
  • diagnose why the progress bar got slower
  • fix merge conflicts with main
  • add some javadocs & license headers

@DavyLandman DavyLandman marked this pull request as ready for review December 20, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants