Repository navigation
Decouple utop.el from tuareg-mode #511
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
Merged
Octachron
merged 7 commits into
ocaml-community:master
from
bbatsov:decouple-from-tuareg
Mar 19, 2026
Merged
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
59aed1e
Replace hard tuareg dependency with lazy loading
bbatsov e26d927
Replace hard-coded mode dispatch with extensible alist
bbatsov d107b33
Support derived modes in compat lookup
bbatsov c8f6a57
Update README to document mode registration and mention neocaml
bbatsov 484141f
Use plists instead of cons pairs in utop-mode-compat-alist
bbatsov 468e452
Clarify that neocaml integration lives on the neocaml side
bbatsov 68573dd
Fix docstring line exceeding 80 characters
bbatsov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I read the code correctly, the integration with
neocamlis done on theneocamlside, isn't it?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, exactly. I could have added it here, but I thought it's probably better to just provide it in
neocaml. IMO that's the best for every major mode, but I didn't want to make changes that might break someone's setup.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it might then be slightly clearer to update the phrasing to
to not give the impression that there is explicit integration for neocaml inside utop.
(Because I believe that this important for a community maintained project to be very explicit in term of the state of the code.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough. I'll think about some updated wording for this.