Max Mouratov

Results 22 comments of Max Mouratov

Hello, David. > If you use something like string ":\n" in a parser, the line position is not updated if it matches. > > In many cases, the string or...

A major update to MParser (that I mentioned above) still has some work to do before the release. Writing this to feel shame. ... (oh, the shame hurts; I really...

And yes, the `OCAMLLIB` environment variable has a correct value of `C:\OCaml\lib`.

I have built and installed the `4.02` branch of Camlp4 (by pinning the git repo), and `camlp4 -where` returns the correct path now: `/cygdrive/c/OCaml/bin/camlp4`. However, I still can't install `type_conv`,...

The root of the problem seems to be neither in OASIS nor in ocamlbuild: ``` $ camlp4 -I "C:/OCaml/lib/camlp4" "-parser" "o" Camlp4: Uncaught exception: DynLoader.Error ("Camlp4OCamlRevisedParser.cmo", "file not found in...

`camlp4` is a byte-compiled executable, so it needs a `.cmo`.

Suddenly, this works: ``` camlp4 -I "C:/OCaml/lib/camlp4" "-parser" Camlp4Parsers/Camlp4OCamlRevisedParser.cmo ``` And even without specifying the search path: ``` camlp4 "-parser" Camlp4Parsers/Camlp4OCamlRevisedParser.cmo ``` Puzzling. Seems like a yet another path-handling-related bug...

This did the trick: ``` export CAMLP4LIB=C:/OCaml/lib/camlp4 ``` I'm not sure _how_ or _why_ does it work, but the installer can also set this variable, at least as a temporary...

Hello. I haven't figured out how to add this environment variable into the installation script (I'm not familiar with NSIS), and I didn't have time to test the modified installer,...

Indeed, that's the problem: ``` $ test -f $(ocamlc -where)/topfind ; echo $? 1 $ ocamlc -where C:\OCaml\lib ``` I've tried copying `topfind` into `C:\OCaml\lib\toplevel\`, and it didn't help. Possible...