leanprover-community / leanprover-community/repl
How to solve the input issue of the v4.8 repl server?
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 228
- Forks
- 69
- Avg merge
- 15m
- Merged PRs (30d)
- 4
Description
I encountered an issue related to Lean REPL 4.8. (I have some reasons that necessitate the use of this version.)When used as a server, Lean REPL 4.8 requires three '\n' characters to get a response, unlike Lean REPL 4.11, which only needs two. However, using three '\n' characters triggers a formatting issue that causes the server to shut down. Is it possible to modify the internal code of the REPL so that it recognizes two '\n' characters as sufficient for a response?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the input and shutdown behavior with the Lean REPL server in versions 4.8 and 4.11, using the newline counts described in the issue. Trace the server's input handling and formatting path to identify why the extra newline causes termination; done means two newlines receive a response without shutting down and the existing behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100