Minimal SQLite key-value store for OCaml
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

sqlite: declare missing build deps (menhir, mdx)

[lib/dune] has a [(menhir ...)] stanza and [dune-project] declares
[(using menhir 3.0)], but [sqlite.opam] did not list [menhir] so
[dune build -p sqlite] failed with "Program menhir not found". Same
story for the README [(mdx)] stanza.

Also correct a stale comment: the SQL lexer uses [ocamllex] (see
[lib/lexer.mll]), not sedlex.

+10 -1
+4
dune
··· 1 1 (env 2 2 (dev 3 3 (flags :standard %{dune-warnings}))) 4 + 5 + (mdx 6 + (files README.md) 7 + (libraries sqlite eio eio.unix))
+3
dune-project
··· 1 1 (lang dune 3.21) 2 + (using mdx 0.4) 2 3 (using menhir 3.0) 3 4 4 5 (name sqlite) ··· 27 28 (vlog (>= 0.1)) 28 29 (tty (>= 0.1)) 29 30 (wal (>= 0.1)) 31 + (menhir :build) 30 32 (alcotest :with-test) 33 + (mdx :with-test) 31 34 (alcobar :with-test)))
+1 -1
lib/sqlite.ml
··· 114 114 Eio.Path.unlink wal_path 115 115 end 116 116 117 - (* CREATE TABLE parser — delegates to Lexer.parse (menhir + sedlex) *) 117 + (* CREATE TABLE parser — delegates to Lexer.parse (menhir + ocamllex) *) 118 118 119 119 let parse_sql sql = 120 120 match Lexer.parse sql with Ok ct -> Some ct | Error _ -> None
+2
sqlite.opam
··· 21 21 "vlog" {>= "0.1"} 22 22 "tty" {>= "0.1"} 23 23 "wal" {>= "0.1"} 24 + "menhir" {build} 24 25 "alcotest" {with-test} 26 + "mdx" {with-test} 25 27 "alcobar" {with-test} 26 28 "odoc" {with-doc} 27 29 ]