这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@dvulakh
Copy link

@dvulakh dvulakh commented Oct 9, 2025

Adds support for block indices, introduced in oxcaml#4017.

Importing the parser changes up until this point also picks up what looks like half-finished metaprogramming syntax/parsing. Full support, including for gating the special meaning of $, is forthcoming (some of it is already in the compiler in commits that postdate oxcaml#4017). This PR does not make an effort to handle any such changes, but does leave most of the imported code in the files (even if sometimes commented out) to make future runs of the parser import script clearer.

Consider reviewing by commit.

Signed-off-by: David Vulakh <dvulakh@janestreet.com>
involved hacking around the broken state of the metaprogramming syntax

Signed-off-by: David Vulakh <dvulakh@janestreet.com>
Signed-off-by: David Vulakh <dvulakh@janestreet.com>
tests from compiler pass

Signed-off-by: David Vulakh <dvulakh@janestreet.com>
Signed-off-by: David Vulakh <dvulakh@janestreet.com>
Signed-off-by: David Vulakh <dvulakh@janestreet.com>
Signed-off-by: David Vulakh <dvulakh@janestreet.com>
@dvulakh dvulakh requested a review from ccasin October 9, 2025 14:56
this mostly is a clone of upstream pr 2680; also fixes all the tests
ocaml-ppx#2680

Signed-off-by: David Vulakh <dvulakh@janestreet.com>
force `TERM=dumb` in testing to make local behavior match ci

Signed-off-by: David Vulakh <dvulakh@janestreet.com>
pulls in changes from oxcaml#4691

Signed-off-by: David Vulakh <dvulakh@janestreet.com>
Signed-off-by: David Vulakh <dvulakh@janestreet.com>
Signed-off-by: David Vulakh <dvulakh@janestreet.com>
Copy link

@ccasin ccasin left a comment

Choose a reason for hiding this comment

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

Eagerly approving, but I think I spotted one bug - see comments

Signed-off-by: David Vulakh <dvulakh@janestreet.com>
@ccasin ccasin merged commit 93aff61 into jane Oct 11, 2025
2 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.

3 participants