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

Support OCaml 5.3 #101

Merged
merged 5 commits into from
Sep 22, 2024
Merged

Support OCaml 5.3 #101

merged 5 commits into from
Sep 22, 2024

Conversation

314eter
Copy link
Collaborator

@314eter 314eter commented Sep 21, 2024

The unicode handling is more relaxed than actual OCaml. Accepting exactly the same identifiers would make the grammar a lot more complicated (and slow).

Handling unicode in the external scanner (e.g. distinguishing lowercase and uppercase characters) is almost impossible without introducing external dependencies. So the external scanner is even more relaxed in accepting quoted string identifiers.

@aryx
Copy link
Contributor

aryx commented Sep 21, 2024

we can't even review the PR ... github says the files are too big ...

@314eter
Copy link
Collaborator Author

314eter commented Sep 21, 2024

I don't know what's happening at Github, but I've seen that a lot lately. In the past, only the diffs of the big files would be hidden, especially if they're marked as linguist-generated.

@314eter
Copy link
Collaborator Author

314eter commented Sep 21, 2024

I moved the changes to generated files to a separate commit, so the other commits can be reviewed on Github.

Copy link
Contributor

@aryx aryx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the 3 commits looks good to me.

@314eter 314eter merged commit 45ddc92 into tree-sitter:master Sep 22, 2024
9 checks passed
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