Skip to content

Commit 4136b32

Browse files
committed
no mparser
1 parent e85d4e2 commit 4136b32

10 files changed

Lines changed: 6 additions & 1094 deletions

File tree

comby-kernel.opam

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ depends: [
2121
"dune" {>= "2.8.0"}
2222
"ocaml" {>= "4.08.1"}
2323
"core_kernel"
24-
"mparser" {>= "1.3"}
25-
"mparser-pcre"
2624
"ppx_deriving"
2725
"ppx_deriving_yojson" {>= "3.6.0"}
2826
"yojson" {>= "1.6.0" < "2.0.0"}

comby.opam

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ depends: [
3737
"lwt"
3838
"lwt_react"
3939
"lwt_ssl"
40-
"mparser" {>= "1.3"}
41-
"mparser-pcre"
4240
"parany" {>= "12.0.3"}
4341
"patience_diff" {>= "v0.14" & < "v0.15"}
4442
"ppx_deriving"

docs/third-party-licenses/ALL.txt

Lines changed: 0 additions & 538 deletions
Large diffs are not rendered by default.

docs/third-party-licenses/pull-and-update-release-scripts.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
LIBS="ppx_deriving_yojson core ppxlib ppx_deriving hack_parallel opium pcre-ocaml ocaml-tls camlzip bisect_ppx mparser ocaml-ci-scripts patdiff lwt toml"
3+
LIBS="ppx_deriving_yojson core ppxlib ppx_deriving hack_parallel opium pcre-ocaml ocaml-tls camlzip bisect_ppx ocaml-ci-scripts patdiff lwt toml"
44

55
rm ALL.txt 2> /dev/null
66
for l in $LIBS; do rm -rf $l; done
@@ -49,10 +49,6 @@ wget -P camlzip https://raw.githubusercontent.com/xavierleroy/camlzip/master/LIC
4949
mkdir bisect_ppx && \
5050
wget -P bisect_ppx https://raw.githubusercontent.com/aantron/bisect_ppx/master/LICENSE.md
5151

52-
# LGPL
53-
mkdir mparser && \
54-
wget -P mparser https://raw.githubusercontent.com/comby-tools/mparser/master/LICENSE.txt
55-
5652
# ISC
5753
mkdir ocaml-ci-scripts && \
5854
wget -P ocaml-ci-scripts https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/LICENSE.md

lib/app/configuration/dune

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
comby.patdiff
1212
comby.camlzip
1313
core
14+
pcre
1415
yojson
1516
ppx_deriving_yojson
1617
toml

lib/kernel/matchers/dune

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
comby-kernel.match
1212
comby-kernel.vangstrom
1313
core_kernel
14-
mparser
15-
mparser-pcre
14+
pcre
1615
re
1716
yojson
1817
ppx_deriving_yojson))

lib/kernel/matchers/regexp.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ type t =
2323
(* I think I should just implement the analog of string_ for regex with some bounded buffer size. *)
2424

2525
module Make (Regexp : Regexp_engine_intf) = struct
26-
(* https://sourcegraph.com/github.com/comby-tools/mparser/-/blob/src/mParser_Char_Stream.ml#L231:8 *)
2726
let match_regexp s pos rex = Regexp.exec ~rex ~pos:(pos - s.buffer_pos) s.buffer
2827
let make_regexp pat = Regexp.make pat
2928

lib/kernel/matchers/regexp.mli

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ module type Regexp_engine_intf = sig
88
val exec : rex:t -> pos:int -> Bytes.t -> substrings option
99
end
1010

11-
(** Represents character stream right now.
12-
Compare char stream interface on t and match_regexp descriptions
13-
in https://sourcegraph.com/github.com/comby-tools/mparser/-/blob/src/mParser_Char_Stream.mli#L102:8
14-
*)
11+
(** Represents character stream right now. *)
1512
type t
1613

1714
module Make (Regexp : Regexp_engine_intf) : sig

lib/kernel/parsers/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
(backend bisect_ppx))
66
(preprocess
77
(pps ppx_sexp_conv))
8-
(libraries core_kernel comby-kernel.vangstrom mparser))
8+
(libraries core_kernel comby-kernel.vangstrom))

scripts/install-with-licenses.sh

Lines changed: 1 addition & 539 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)