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

Parse_ocaml_tree_sitter.ml: fill some todos #3595

Merged
merged 28 commits into from Jul 27, 2021
Merged

Parse_ocaml_tree_sitter.ml: fill some todos #3595

merged 28 commits into from Jul 27, 2021

Conversation

aryx
Copy link
Collaborator

@aryx aryx commented Jul 23, 2021

This will help #2885

test plan:
make

PR checklist:

  • documentation is up to date
  • changelog is up to date

@aryx aryx requested review from mjambon and IagoAbal July 26, 2021 13:58
@aryx aryx marked this pull request as ready for review July 26, 2021 13:59
@aryx
Copy link
Collaborator Author

aryx commented Jul 26, 2021

parsing stats for OCaml jump from 25% to 61%, and many projects are >90% correct parsing.

@aryx
Copy link
Collaborator Author

aryx commented Jul 26, 2021

This closes #2885

let _v1 = token env v1 (* "(" *) in
let v2 = str env v2 (* "::" *) in
let _v3 = token env v3 (* ")" *) in
v2
Copy link
Member

Choose a reason for hiding this comment

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

It would be great if you could give these variables a name while it's fresh in your mind e.g. let coloncolon = str env v2 in ... coloncolon. Having to figure out their meaning later is tedious.

@aryx aryx merged commit 871e7b8 into develop Jul 27, 2021
@aryx aryx deleted the ocaml_tree_sitter branch July 27, 2021 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants