Frédéric Bour

Results 131 comments of Frédéric Bour
trafficstars

JFYI, we should be able to generate from Menhir grammar list of sentences to cover tricky cases (for instance all automaton transitions involved in a conflict).

It is not only open, it is all top-level definitions. The problem has to do with how merlin selects the environment when the definition under the cursor is not parseable....

I had the same problem using dune 3.4.1 in a project using `(lang dune 2.7)` with non-ppx preprocessors (using this specification: https://dune.readthedocs.io/en/stable/concepts.html?highlight=per_module#per-module-preprocessing-specification)

No. My filter is a simple CPP-like text processor that removes some chunks of code (based on OCaml version).

It seems that even correct code is generating overlapping locations, both with Merlin and OCaml parsers: ```oaml let () = (Foo.Bar.());; ``` ``` [ structure_item (test.ml[1,0+0]..[1,0+21]) Pstr_value Nonrec [ pattern...

So in the short term it is probably better to add this case to ppxlib.

Hi Darius, sorry for the late answer. Indeed, there is a mismatch, usually just at the node at the junction between Lwd and DOM. The commented line is meant to...

And thanks, I am glad that you like Lwd! I am really busy for now but I would like to give it some love in the next two years.

The history is not clean as it contains a previous implementation that just used an option (discussed in #11450). I can rewrite it if needed.