ocaml-ppx / ppxlib

Base library and tools for ppx rewriters
MIT License
247 stars 98 forks source link

Improve `Ast_pattern` error reporting. #391

Open panglesd opened 1 year ago

panglesd commented 1 year ago

The error reported by Ast_pattern are not very informative, especially for the user of the PPX, who might not know anything about the AST.

Here is an example of an error generated by an unmatched AST pattern:

Error: PStr expected

Possible improvements:

nangahamandine commented 1 year ago

Hello, I'd like to work on this issue Can you please assign it to me?

nangahamandine commented 1 year ago

I noticed that on the referenced issue, changes were made in the ocaml-ppx/ppx-import. I've successfully cloned and built ocaml-ppx/ppxlib. Will I need to clone multiple extensions of ocaml-ppx? Or do I stick with ppxlib for now?

Burnleydev1 commented 1 year ago

Hello @nangahamandine, I think for this issue you will need just the ppxlib

nangahamandine commented 1 year ago

Sure, thanks

marrious11 commented 1 year ago

Hi @nangahamandine, I wish to find out if you've completed this issue already!

meghaaa30 commented 1 year ago

hey! I am an outreachy applicant, I would like to work on this issue. can you please assign it to me?

panglesd commented 1 year ago

@nangahamandine are you still actively working on this issue? @marrious11 have you started working on it, or do you still want to?

Do not hesitate to ask for support, or precision on the task. But let us know if the issue can be assigned to someone else!

If this issue is already taken, there are others with still no-one working on them, listed on #389.

marrious11 commented 1 year ago

Well, sir @panglesd, I'd hoped to but since I meet a comment on it from @nangahamandine, I thought she has been reading through, and perhaps working on it too: But I also started working on it in my own small way though. We could work on it together if it is okay by you sir!

nangahamandine commented 1 year ago

I've not been able to do much. My time commitments changed so I've had little to no time to make changes or contributions Please go ahead and work on the issue Good luck!