Code Monkey home page Code Monkey logo

Comments (4)

astefano avatar astefano commented on June 18, 2024 1

from nice-parser.

smolkaj avatar smolkaj commented on June 18, 2024

Are you still seeing this issue? I can't reproduce it.
It might have to do with all the recent breaking changes in jbuilder/dune. What version do you have? Maybe #9 will fix the issue?

from nice-parser.

astefano avatar astefano commented on June 18, 2024

Hi,

yes, it's the same, but this time coming from dune :)

isar:07:23:59:~/ocaml-parsing$ make
dune build
ocamlopt src/.ocaml_parsing.objs/ocaml_parsing__Lexer.{cmx,o} (exit 2)
(cd _build/default && /home/eugen/.opam/4.06.1/bin/ocamlopt.opt -w @a-4-29-40-41-42-44-45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I src/.ocaml_parsing.objs -I /home/eugen/.opam/4.06.1/lib/base -I /home/eugen/.opam/4.06.1/lib/base/caml -I /home/eugen/.opam/4.06.1/lib/base/shadow_stdlib -I /home/eugen/.opam/4.06.1/lib/bytes -I /home/eugen/.opam/4.06.1/lib/gen -I /home/eugen/.opam/4.06.1/lib/menhirLib -I /home/eugen/.opam/4.06.1/lib/ocaml/compiler-libs -I /home/eugen/.opam/4.06.1/lib/ppx_deriving -I /home/eugen/.opam/4.06.1/lib/result -I /home/eugen/.opam/4.06.1/lib/sedlex -I /home/eugen/.opam/4.06.1/lib/sexplib0 -I /home/eugen/.opam/4.06.1/lib/stdio -intf-suffix .ml -no-alias-deps -opaque -open Ocaml_parsing -o src/.ocaml_parsing.objs/ocaml_parsing__Lexer.cmx -c -impl src/Lexer.pp.ml)
File "src/Lexer.ml", line 42, characters 15-28:
Error: Uninterpreted extension 'sedlex.regexp'.
ocamlc src/.ocaml_parsing.objs/ocaml_parsing__Lexer.{cmo,cmt} (exit 2)
(cd _build/default && /home/eugen/.opam/4.06.1/bin/ocamlc.opt -w @a-4-29-40-41-42-44-45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I src/.ocaml_parsing.objs -I /home/eugen/.opam/4.06.1/lib/base -I /home/eugen/.opam/4.06.1/lib/base/caml -I /home/eugen/.opam/4.06.1/lib/base/shadow_stdlib -I /home/eugen/.opam/4.06.1/lib/bytes -I /home/eugen/.opam/4.06.1/lib/gen -I /home/eugen/.opam/4.06.1/lib/menhirLib -I /home/eugen/.opam/4.06.1/lib/ocaml/compiler-libs -I /home/eugen/.opam/4.06.1/lib/ppx_deriving -I /home/eugen/.opam/4.06.1/lib/result -I /home/eugen/.opam/4.06.1/lib/sedlex -I /home/eugen/.opam/4.06.1/lib/sexplib0 -I /home/eugen/.opam/4.06.1/lib/stdio -intf-suffix .ml -no-alias-deps -opaque -open Ocaml_parsing -o src/.ocaml_parsing.objs/ocaml_parsing__Lexer.cmo -c -impl src/Lexer.pp.ml)
File "src/Lexer.ml", line 42, characters 15-28:
Error: Uninterpreted extension 'sedlex.regexp'.
make: *** [build] Error 1

dune is at 1.1.1. and sedlex is at 1.99.3.
But please feel to close the issue since you can't reproduce it.

Cheers,
l

from nice-parser.

smolkaj avatar smolkaj commented on June 18, 2024

You need sedlex >= 1.99.4 for compatability with jbuilder/dune. I added this constraint to the opam file. Let me know if it works.

from nice-parser.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.