vibe code frontmatter handling

This commit is contained in:
Kaustubh Maske Patil 2025-05-31 19:53:06 +05:30
parent 1d5760b90d
commit a2c3e38583
68 changed files with 3002 additions and 547 deletions

1933
esy.lock/index.json generated

File diff suppressed because it is too large Load Diff

48
esy.lock/opam/bos.0.2.1/opam generated Normal file
View File

@ -0,0 +1,48 @@
opam-version: "2.0"
synopsis: """Basic OS interaction for OCaml"""
maintainer: ["Daniel Bünzli <daniel.buenzl i@erratique.ch>"]
authors: ["The bos programmers"]
homepage: "https://erratique.ch/software/bos"
doc: "https://erratique.ch/software/bos/doc"
dev-repo: "git+https://erratique.ch/repos/bos.git"
bug-reports: "https://github.com/dbuenzli/bos/issues"
license: ["ISC"]
tags: ["os" "system" "cli" "command" "file" "path" "log" "unix"
"org:erratique"]
depends: ["ocaml" {>= "4.08.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"topkg" {build & >= "1.0.3"}
"base-unix"
"rresult" {>= "0.7.0"}
"astring"
"fpath" {>= "0.7.3"}
"fmt" {>= "0.8.10"}
"logs"
"mtime" {with-test}]
build: [["ocaml" "pkg/pkg.ml" "build" "--dev-pkg" "%{dev}%"]]
url {
src: "https://erratique.ch/software/bos/releases/bos-0.2.1.tbz"
checksum: "sha512=8daeb8a4c2dd1f2460f6274ada19f4f1b6ebe875ff83a938c93418ce0e6bdb74b8afc5c9a7d410c1c9df2dad030e4fa276b6ed2da580639484e8b5bc92610b1d"}
description: """
Bos provides support for basic and robust interaction with the
operating system in OCaml. It has functions to access the process
environment, parse command line arguments, interact with the file
system and run command line programs.
Bos works equally well on POSIX and Windows operating systems.
Bos depends on [Rresult][rresult], [Astring][astring], [Fmt][fmt],
[Fpath][fpath] and [Logs][logs] and the OCaml Unix library. It is
distributed under the ISC license.
[rresult]: http://erratique.ch/software/rresult
[astring]: http://erratique.ch/software/astring
[fmt]: http://erratique.ch/software/fmt
[fpath]: http://erratique.ch/software/fpath
[logs]: http://erratique.ch/software/logs
Home page: http://erratique.ch/software/bos
Contact: Daniel Bünzli `<daniel.buenzl i@erratique.ch>`"""
x-maintenance-intent: ["(latest)"]

View File

@ -9,7 +9,7 @@ homepage: "https://github.com/ocaml/dune"
doc: "https://dune.readthedocs.io/"
bug-reports: "https://github.com/ocaml/dune/issues"
depends: [
"dune" {>= "3.12"}
"dune" {>= "3.18"}
"ocaml" {>= "4.08.0"}
"odoc" {with-doc}
]
@ -32,10 +32,10 @@ build: [
]
url {
src:
"https://github.com/ocaml/dune/releases/download/3.18.2/dune-3.18.2.tbz"
"https://github.com/ocaml/dune/releases/download/3.19.0/dune-3.19.0.tbz"
checksum: [
"sha256=56be509ffc3c5ba652113d9e6b43edb04a691f1e1f6cbba17b9d243b1239a7af"
"sha512=ee04a0c4ab946817018c78cd9b19c8d3082ee3b1cef78c699fff4ea37fd79543823a9751d0b945d2fd1783396ceded045cbec986a85f7a8f7bac93e04650fff3"
"sha256=d2f617dfd34f7d882f4181a22e359bb90b46669ed87b2650eb842f0532fc696c"
"sha512=9bd4c5825076c88192425f1462fedab1100d5b83a75dfe65592255b127690503b01b61c964990272abe54f0a01a14587ca464e438fa8b9d8560d2576773f39a8"
]
}
x-commit-hash: "7b971c877d1403da3d536cc180cdd384c7b26341"
x-commit-hash: "645a7897e4b9540cc4d79ffbd59f9be259cd6317"

View File

@ -27,7 +27,7 @@ depexts: [
["gmp"] {os = "macos" & os-distribution = "homebrew"}
["gmp"] {os-distribution = "macports" & os = "macos"}
["gmp" "gmp-devel"] {os-distribution = "centos"}
["gmp" "gmp-devel"] {os-distribution = "fedora" | os-family = "fedora"}
["gmp" "gmp-devel"] {os-family = "fedora" | os-family = "fedora"}
["gmp" "gmp-devel"] {os-distribution = "ol"}
["gmp"] {os = "openbsd"}
["gmp"] {os = "freebsd"}

View File

@ -30,7 +30,7 @@ depexts: [
["libssl-dev"] {os-family = "ubuntu"}
["openssl-devel"] {os-distribution = "centos"}
["openssl-devel"] {os-distribution = "ol"}
["openssl-devel"] {os-distribution = "fedora" | os-family = "fedora"}
["openssl-devel"] {os-family = "fedora" | os-family = "fedora"}
["libopenssl-devel"] {os-family = "suse" | os-family = "opensuse"}
["openssl-dev"] {os-family = "alpine"}
["openssl"] {os-family = "arch"}

View File

@ -0,0 +1,19 @@
opam-version: "2.0"
synopsis: "Virtual package for GCC on x86_64 mingw-w64 (64-bit x86_64)"
description: "Ensures the x86_64 version of GCC from the mingw-w64 project is available"
maintainer: "David Allsopp <david@tarides.com>"
authors: "David Allsopp"
license: "GPL-3.0-or-later"
homepage: "https://www.mingw-w64.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32"
depends: [
"msys2" {build & os = "win32" & os-distribution = "msys2"}
"msys2-mingw64" {os = "win32" & os-distribution = "msys2"}
]
build: ["x86_64-w64-mingw32-gcc" "--version"]
depexts: [
["mingw64-x86_64-gcc-core"] {os = "win32" & os-distribution = "cygwin"}
["mingw-w64-x86_64-gcc"] {os = "win32" & os-distribution = "msys2"}
]

View File

@ -1,21 +0,0 @@
opam-version: "2.0"
synopsis: "Virtual package for libgmp on i686 mingw-w64 (32-bit x86)"
description: "Ensures the i686 version of libgmp for the mingw-w64 project is available"
maintainer: "David Allsopp <david@tarides.com>"
authors: "Torbjörn Granlund et al"
license: "GPL-1.0-or-later"
homepage: "http://gmplib.org/"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32"
build: ["pkgconf" "--personality=i686-w64-mingw32" {os-distribution = "cygwin"} "gmp"]
depends: [
"msys2" {build & os = "win32" & os-distribution = "msys2"}
"msys2-mingw32" {os = "win32" & os-distribution = "msys2"}
"conf-pkg-config" {build}
"conf-mingw-w64-gcc-i686" {build}
]
depexts: [
["mingw64-i686-gmp"] {os = "win32" & os-distribution = "cygwin"}
["mingw-w64-i686-gmp"] {os = "win32" & os-distribution = "msys2"}
]

View File

@ -0,0 +1,21 @@
opam-version: "2.0"
synopsis: "Virtual package for libgmp on x86_64 mingw-w64 (64-bit x86_64)"
description: "Ensures the x86_64 version of libgmp for the mingw-w64 project is available"
maintainer: "David Allsopp <david@tarides.com>"
authors: "Torbjörn Granlund et al"
license: "GPL-1.0-or-later"
homepage: "http://gmplib.org/"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32"
build: ["pkgconf" "--personality=x86_64-w64-mingw32" {os-distribution = "cygwin"} "gmp"]
depends: [
"msys2" {build & os = "win32" & os-distribution = "msys2"}
"msys2-mingw64" {os = "win32" & os-distribution = "msys2"}
"conf-pkg-config" {build}
"conf-mingw-w64-gcc-x86_64" {build}
]
depexts: [
["mingw64-x86_64-gmp"] {os = "win32" & os-distribution = "cygwin"}
["mingw-w64-x86_64-gmp"] {os = "win32" & os-distribution = "msys2"}
]

View File

@ -0,0 +1,19 @@
opam-version: "2.0"
synopsis: "libssl for x86_64 mingw-w64 (64-bit x86_64)"
description: "Ensures the x86_64 version of libssl for the mingw-w64 project is available"
maintainer: "David Allsopp <david@tarides.com>"
authors: "The OpenSSL Project"
license: "Apache-1.0"
homepage: "https://www.openssl.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32"
build: ["pkgconf" "--personality=x86_64-w64-mingw32" "openssl"]
depends: [
"conf-pkg-config" {build}
"conf-mingw-w64-gcc-x86_64" {build}
]
depexts: [
["mingw64-x86_64-openssl"] {os = "win32" & os-distribution = "cygwin"}
["mingw-w64-x86_64-openssl"] {os = "win32" & os-distribution = "msys2"}
]

View File

@ -15,7 +15,7 @@ build: [
depexts: [
["pkg-config"] {os-family = "debian" | os-family = "ubuntu"}
["pkgconf"] {os-distribution = "arch"}
["pkgconf-pkg-config"] {os-distribution = "fedora"}
["pkgconf-pkg-config"] {os-family = "fedora"}
["pkgconfig"] {os-distribution = "centos" & os-version <= "7"}
["pkgconf-pkg-config"] {os-distribution = "mageia"}
["pkgconfig"] {os-distribution = "rhel" & os-version <= "7"}

66
esy.lock/opam/ctypes.0.23.0/opam generated Normal file
View File

@ -0,0 +1,66 @@
opam-version: "2.0"
synopsis: "Combinators for binding to C libraries without writing any C"
description: """
ctypes is a library for binding to C libraries using pure OCaml. The primary
aim is to make writing C extensions as straightforward as possible.
The core of ctypes is a set of combinators for describing the structure of C
types -- numeric types, arrays, pointers, structs, unions and functions. You
can use these combinators to describe the types of the functions that you want
to call, then bind directly to those functions -- all without writing or
generating any C!
To install the optional `ctypes-foreign` interface (which uses `libffi` to
provide dynamic access to foreign libraries), you will need to also install
the `ctypes-foreign` package.
opam install ctypes-foreign
This will make the `ctypes-foreign` ocamlfind subpackage available."""
maintainer: ["Jeremy Yallop <yallop@gmail.com>"]
authors: ["Jeremy Yallop"]
license: "MIT"
tags: ["org:mirage"]
homepage: "https://github.com/yallop/ocaml-ctypes"
doc: "https://yallop.github.io/ocaml-ctypes/"
bug-reports: "https://github.com/yallop/ocaml-ctypes/issues"
depends: [
"dune" {>= "2.9"}
"ocaml" {>= "4.03.0"}
"integers"
"dune-configurator"
"bigarray-compat"
"ounit2" {with-test}
"conf-fts" {with-test & os != "win32"}
"conf-pkg-config" {with-test}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
dev-repo: "git+https://github.com/yallop/ocaml-ctypes.git"
url {
src:
"https://github.com/yallop/ocaml-ctypes/archive/refs/tags/0.23.0.tar.gz"
checksum: [
"sha256=cae47d815b27dd4c824a007f1145856044542fe2588d23a443ef4eefec360bf1"
"md5=b1af973ec9cf7867a63714e92df82f2a"
]
}
conflicts: [
"host-system-msvc"
]
x-maintenance-intent: ["(any).(any).(latest)"]

View File

@ -0,0 +1,43 @@
opam-version: "2.0"
synopsis: "A scheduler independent blocking mechanism"
description:
"A low level mechanism intended for writing higher level libraries that need to block in a scheduler friendly manner."
maintainer: ["Vesa Karvonen <vesa.a.j.k@gmail.com>"]
authors: ["Vesa Karvonen <vesa.a.j.k@gmail.com>"]
license: "ISC"
homepage: "https://github.com/ocaml-multicore/domain-local-await"
bug-reports: "https://github.com/ocaml-multicore/domain-local-await/issues"
depends: [
"dune" {>= "3.8"}
"ocaml" {>= "4.12.0"}
"thread-table" {>= "1.0.0"}
"alcotest" {>= "1.7.0" & with-test}
"mdx" {>= "2.3.0" & with-test}
"ocaml-version" {>= "3.6.1" & with-test}
"domain_shims" {>= "0.1.0" & with-test}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test & os != "macos"}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/ocaml-multicore/domain-local-await.git"
url {
src:
"https://github.com/ocaml-multicore/domain-local-await/releases/download/1.0.1/domain-local-await-1.0.1.tbz"
checksum: [
"sha256=2952113c53cb07e2b054b2dc86ce72939131dab8207c8f3139adb23e64cdfa6f"
"sha512=6f9805fc032f8afcfba2b0df11b48482c6af14d63f825b09e49e31f9cfc1b196c74981a5b4682ca862e300f9a931b16c6396bd7921513add586df98ba9958ec5"
]
}
x-commit-hash: "2028ac338517b91fa93072486d03769d56b3f4df"

View File

@ -15,7 +15,7 @@ homepage: "https://github.com/ocaml/dune"
doc: "https://dune.readthedocs.io/"
bug-reports: "https://github.com/ocaml/dune/issues"
depends: [
"dune" {>= "3.12"}
"dune" {>= "3.18"}
"ocaml" {>= "4.08"}
"odoc" {with-doc}
]
@ -38,10 +38,10 @@ build: [
]
url {
src:
"https://github.com/ocaml/dune/releases/download/3.18.2/dune-3.18.2.tbz"
"https://github.com/ocaml/dune/releases/download/3.19.0/dune-3.19.0.tbz"
checksum: [
"sha256=56be509ffc3c5ba652113d9e6b43edb04a691f1e1f6cbba17b9d243b1239a7af"
"sha512=ee04a0c4ab946817018c78cd9b19c8d3082ee3b1cef78c699fff4ea37fd79543823a9751d0b945d2fd1783396ceded045cbec986a85f7a8f7bac93e04650fff3"
"sha256=d2f617dfd34f7d882f4181a22e359bb90b46669ed87b2650eb842f0532fc696c"
"sha512=9bd4c5825076c88192425f1462fedab1100d5b83a75dfe65592255b127690503b01b61c964990272abe54f0a01a14587ca464e438fa8b9d8560d2576773f39a8"
]
}
x-commit-hash: "7b971c877d1403da3d536cc180cdd384c7b26341"
x-commit-hash: "645a7897e4b9540cc4d79ffbd59f9be259cd6317"

View File

@ -17,7 +17,7 @@ homepage: "https://github.com/ocaml/dune"
doc: "https://dune.readthedocs.io/"
bug-reports: "https://github.com/ocaml/dune/issues"
depends: [
"dune" {>= "3.12"}
"dune" {>= "3.18"}
"ocaml" {>= "4.08.0"}
"base-unix"
"csexp" {>= "1.5.0"}
@ -42,10 +42,10 @@ build: [
]
url {
src:
"https://github.com/ocaml/dune/releases/download/3.18.2/dune-3.18.2.tbz"
"https://github.com/ocaml/dune/releases/download/3.19.0/dune-3.19.0.tbz"
checksum: [
"sha256=56be509ffc3c5ba652113d9e6b43edb04a691f1e1f6cbba17b9d243b1239a7af"
"sha512=ee04a0c4ab946817018c78cd9b19c8d3082ee3b1cef78c699fff4ea37fd79543823a9751d0b945d2fd1783396ceded045cbec986a85f7a8f7bac93e04650fff3"
"sha256=d2f617dfd34f7d882f4181a22e359bb90b46669ed87b2650eb842f0532fc696c"
"sha512=9bd4c5825076c88192425f1462fedab1100d5b83a75dfe65592255b127690503b01b61c964990272abe54f0a01a14587ca464e438fa8b9d8560d2576773f39a8"
]
}
x-commit-hash: "7b971c877d1403da3d536cc180cdd384c7b26341"
x-commit-hash: "645a7897e4b9540cc4d79ffbd59f9be259cd6317"

View File

@ -16,7 +16,7 @@ homepage: "https://github.com/ocaml/dune"
doc: "https://dune.readthedocs.io/"
bug-reports: "https://github.com/ocaml/dune/issues"
depends: [
"dune" {>= "3.12"}
"dune" {>= "3.18"}
"csexp" {>= "1.5.0"}
"pp" {>= "1.1.0"}
"dyn" {= version}
@ -25,7 +25,7 @@ depends: [
"odoc" {with-doc}
]
dev-repo: "git+https://github.com/ocaml/dune.git"
x-maintenance-intent: ["(none)"]
x-maintenance-intent: ["(latest)"]
build: [
["dune" "subst"] {dev}
["rm" "-rf" "vendor/csexp"]
@ -43,10 +43,10 @@ build: [
]
url {
src:
"https://github.com/ocaml/dune/releases/download/3.18.2/dune-3.18.2.tbz"
"https://github.com/ocaml/dune/releases/download/3.19.0/dune-3.19.0.tbz"
checksum: [
"sha256=56be509ffc3c5ba652113d9e6b43edb04a691f1e1f6cbba17b9d243b1239a7af"
"sha512=ee04a0c4ab946817018c78cd9b19c8d3082ee3b1cef78c699fff4ea37fd79543823a9751d0b945d2fd1783396ceded045cbec986a85f7a8f7bac93e04650fff3"
"sha256=d2f617dfd34f7d882f4181a22e359bb90b46669ed87b2650eb842f0532fc696c"
"sha512=9bd4c5825076c88192425f1462fedab1100d5b83a75dfe65592255b127690503b01b61c964990272abe54f0a01a14587ca464e438fa8b9d8560d2576773f39a8"
]
}
x-commit-hash: "7b971c877d1403da3d536cc180cdd384c7b26341"
x-commit-hash: "645a7897e4b9540cc4d79ffbd59f9be259cd6317"

View File

@ -8,7 +8,7 @@ homepage: "https://github.com/ocaml/dune"
doc: "https://dune.readthedocs.io/"
bug-reports: "https://github.com/ocaml/dune/issues"
depends: [
"dune" {>= "3.12"}
"dune" {>= "3.18"}
"csexp"
"ordering"
"dyn"
@ -36,10 +36,10 @@ build: [
]
url {
src:
"https://github.com/ocaml/dune/releases/download/3.18.2/dune-3.18.2.tbz"
"https://github.com/ocaml/dune/releases/download/3.19.0/dune-3.19.0.tbz"
checksum: [
"sha256=56be509ffc3c5ba652113d9e6b43edb04a691f1e1f6cbba17b9d243b1239a7af"
"sha512=ee04a0c4ab946817018c78cd9b19c8d3082ee3b1cef78c699fff4ea37fd79543823a9751d0b945d2fd1783396ceded045cbec986a85f7a8f7bac93e04650fff3"
"sha256=d2f617dfd34f7d882f4181a22e359bb90b46669ed87b2650eb842f0532fc696c"
"sha512=9bd4c5825076c88192425f1462fedab1100d5b83a75dfe65592255b127690503b01b61c964990272abe54f0a01a14587ca464e438fa8b9d8560d2576773f39a8"
]
}
x-commit-hash: "7b971c877d1403da3d536cc180cdd384c7b26341"
x-commit-hash: "645a7897e4b9540cc4d79ffbd59f9be259cd6317"

View File

@ -7,7 +7,7 @@ homepage: "https://github.com/ocaml/dune"
doc: "https://dune.readthedocs.io/"
bug-reports: "https://github.com/ocaml/dune/issues"
depends: [
"dune" {>= "3.12"}
"dune" {>= "3.18"}
"dune-private-libs" {= version}
"odoc" {with-doc}
]
@ -30,10 +30,10 @@ build: [
]
url {
src:
"https://github.com/ocaml/dune/releases/download/3.18.2/dune-3.18.2.tbz"
"https://github.com/ocaml/dune/releases/download/3.19.0/dune-3.19.0.tbz"
checksum: [
"sha256=56be509ffc3c5ba652113d9e6b43edb04a691f1e1f6cbba17b9d243b1239a7af"
"sha512=ee04a0c4ab946817018c78cd9b19c8d3082ee3b1cef78c699fff4ea37fd79543823a9751d0b945d2fd1783396ceded045cbec986a85f7a8f7bac93e04650fff3"
"sha256=d2f617dfd34f7d882f4181a22e359bb90b46669ed87b2650eb842f0532fc696c"
"sha512=9bd4c5825076c88192425f1462fedab1100d5b83a75dfe65592255b127690503b01b61c964990272abe54f0a01a14587ca464e438fa8b9d8560d2576773f39a8"
]
}
x-commit-hash: "7b971c877d1403da3d536cc180cdd384c7b26341"
x-commit-hash: "645a7897e4b9540cc4d79ffbd59f9be259cd6317"

View File

@ -30,7 +30,7 @@ conflicts: [
"ocaml-lsp-server" {< "1.3.0"}
"dune-configurator" {< "2.3.0"}
"odoc" {< "2.0.1"}
"dune-release" {< "1.3.0"}
"dune-release" {< "2.0.0"}
"js_of_ocaml-compiler" {< "3.6.0"}
"jbuilder" {= "transition"}
]
@ -56,6 +56,7 @@ depends: [
"ocamlfind" { with-dev-setup & os != "win32" }
"odoc" { with-dev-setup & >= "2.4.0" & os != "win32" }
"ppx_expect" { with-dev-setup & >= "v0.17" & os != "win32" }
"spawn" { with-dev-setup }
"ppx_inline_test" { with-dev-setup & os != "win32" }
"ppxlib" { with-dev-setup & >= "0.35.0" & os != "win32" }
"ctypes" { with-dev-setup & os != "win32" }
@ -64,10 +65,10 @@ depends: [
]
url {
src:
"https://github.com/ocaml/dune/releases/download/3.18.2/dune-3.18.2.tbz"
"https://github.com/ocaml/dune/releases/download/3.19.0/dune-3.19.0.tbz"
checksum: [
"sha256=56be509ffc3c5ba652113d9e6b43edb04a691f1e1f6cbba17b9d243b1239a7af"
"sha512=ee04a0c4ab946817018c78cd9b19c8d3082ee3b1cef78c699fff4ea37fd79543823a9751d0b945d2fd1783396ceded045cbec986a85f7a8f7bac93e04650fff3"
"sha256=d2f617dfd34f7d882f4181a22e359bb90b46669ed87b2650eb842f0532fc696c"
"sha512=9bd4c5825076c88192425f1462fedab1100d5b83a75dfe65592255b127690503b01b61c964990272abe54f0a01a14587ca464e438fa8b9d8560d2576773f39a8"
]
}
x-commit-hash: "7b971c877d1403da3d536cc180cdd384c7b26341"
x-commit-hash: "645a7897e4b9540cc4d79ffbd59f9be259cd6317"

View File

@ -8,14 +8,14 @@ homepage: "https://github.com/ocaml/dune"
doc: "https://dune.readthedocs.io/"
bug-reports: "https://github.com/ocaml/dune/issues"
depends: [
"dune" {>= "3.12"}
"dune" {>= "3.18"}
"ocaml" {>= "4.08.0"}
"ordering" {= version}
"pp" {>= "1.1.0"}
"odoc" {with-doc}
]
dev-repo: "git+https://github.com/ocaml/dune.git"
x-maintenance-intent: ["(none)"]
x-maintenance-intent: ["(latest)"]
build: [
["dune" "subst"] {dev}
["rm" "-rf" "vendor/csexp"]
@ -33,10 +33,10 @@ build: [
]
url {
src:
"https://github.com/ocaml/dune/releases/download/3.18.2/dune-3.18.2.tbz"
"https://github.com/ocaml/dune/releases/download/3.19.0/dune-3.19.0.tbz"
checksum: [
"sha256=56be509ffc3c5ba652113d9e6b43edb04a691f1e1f6cbba17b9d243b1239a7af"
"sha512=ee04a0c4ab946817018c78cd9b19c8d3082ee3b1cef78c699fff4ea37fd79543823a9751d0b945d2fd1783396ceded045cbec986a85f7a8f7bac93e04650fff3"
"sha256=d2f617dfd34f7d882f4181a22e359bb90b46669ed87b2650eb842f0532fc696c"
"sha512=9bd4c5825076c88192425f1462fedab1100d5b83a75dfe65592255b127690503b01b61c964990272abe54f0a01a14587ca464e438fa8b9d8560d2576773f39a8"
]
}
x-commit-hash: "7b971c877d1403da3d536cc180cdd384c7b26341"
x-commit-hash: "645a7897e4b9540cc4d79ffbd59f9be259cd6317"

53
esy.lock/opam/eio.1.2/opam generated Normal file
View File

@ -0,0 +1,53 @@
opam-version: "2.0"
synopsis: "Effect-based direct-style IO API for OCaml"
description: "An effect-based IO API for multicore OCaml with fibers."
maintainer: ["anil@recoil.org"]
authors: ["Anil Madhavapeddy" "Thomas Leonard"]
license: "ISC"
homepage: "https://github.com/ocaml-multicore/eio"
doc: "https://ocaml-multicore.github.io/eio/"
bug-reports: "https://github.com/ocaml-multicore/eio/issues"
depends: [
"dune" {>= "3.9"}
"ocaml" {>= "5.1.0"}
"bigstringaf" {>= "0.9.0"}
"cstruct" {>= "6.0.1"}
"lwt-dllist"
"optint" {>= "0.1.0"}
"psq" {>= "0.2.0"}
"fmt" {>= "0.8.9"}
"hmap" {>= "0.8.1"}
"domain-local-await" {>= "0.1.0"}
"crowbar" {>= "0.2" & with-test}
"mtime" {>= "2.0.0"}
"mdx" {>= "2.4.1" & with-test}
"dscheck" {>= "0.1.0" & with-test}
"odoc" {with-doc}
]
conflicts: [
"seq" {< "0.3"}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
url {
src:
"https://github.com/ocaml-multicore/eio/releases/download/v1.2/eio-1.2.tbz"
checksum: [
"sha256=3792e912bd8d494bb2e38f73081825e4d212b1970cf2c1f1b2966caa9fd6bc40"
"sha512=4a80dbcf8cf2663bdad0f2970871844f37bd293c56bd1ce602910e0a613754945f1f942719f9630906453be7c73c1732dc97526c6c90b0b36100d04fd5e871e4"
]
}
x-commit-hash: "f26d70d64265a6bed7416d3db3bd14a5e090b6d6"

45
esy.lock/opam/eio_linux.1.2/opam generated Normal file
View File

@ -0,0 +1,45 @@
opam-version: "2.0"
synopsis: "Eio implementation for Linux using io-uring"
description: "An Eio implementation for Linux using io-uring."
maintainer: ["anil@recoil.org"]
authors: ["Anil Madhavapeddy" "Thomas Leonard"]
license: "ISC"
homepage: "https://github.com/ocaml-multicore/eio"
doc: "https://ocaml-multicore.github.io/eio/"
bug-reports: "https://github.com/ocaml-multicore/eio/issues"
depends: [
"dune" {>= "3.9"}
"alcotest" {>= "1.7.0" & with-test}
"eio" {= version}
"mdx" {>= "2.4.1" & with-test}
"logs" {>= "0.7.0" & with-test}
"fmt" {>= "0.8.9"}
"cmdliner" {>= "1.1.0" & with-test}
"uring" {>= "0.9"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
available: [os = "linux"]
url {
src:
"https://github.com/ocaml-multicore/eio/releases/download/v1.2/eio-1.2.tbz"
checksum: [
"sha256=3792e912bd8d494bb2e38f73081825e4d212b1970cf2c1f1b2966caa9fd6bc40"
"sha512=4a80dbcf8cf2663bdad0f2970871844f37bd293c56bd1ce602910e0a613754945f1f942719f9630906453be7c73c1732dc97526c6c90b0b36100d04fd5e871e4"
]
}
x-commit-hash: "f26d70d64265a6bed7416d3db3bd14a5e090b6d6"

46
esy.lock/opam/eio_main.1.2/opam generated Normal file
View File

@ -0,0 +1,46 @@
opam-version: "2.0"
synopsis: "Effect-based direct-style IO mainloop for OCaml"
description: "Selects an appropriate Eio backend for the current platform."
maintainer: ["anil@recoil.org"]
authors: ["Anil Madhavapeddy" "Thomas Leonard"]
license: "ISC"
homepage: "https://github.com/ocaml-multicore/eio"
doc: "https://ocaml-multicore.github.io/eio/"
bug-reports: "https://github.com/ocaml-multicore/eio/issues"
depends: [
"dune" {>= "3.9"}
"mdx" {>= "2.4.1" & with-test}
"kcas" {>= "0.3.0" & with-test}
"yojson" {>= "2.0.2" & with-test}
"eio_linux"
{= version & os = "linux" &
(os-distribution != "centos" | os-version > "7")}
"eio_posix" {= version & os != "win32"}
"eio_windows" {= version & os = "win32"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
x-ci-accept-failures: ["macos-homebrew"]
url {
src:
"https://github.com/ocaml-multicore/eio/releases/download/v1.2/eio-1.2.tbz"
checksum: [
"sha256=3792e912bd8d494bb2e38f73081825e4d212b1970cf2c1f1b2966caa9fd6bc40"
"sha512=4a80dbcf8cf2663bdad0f2970871844f37bd293c56bd1ce602910e0a613754945f1f942719f9630906453be7c73c1732dc97526c6c90b0b36100d04fd5e871e4"
]
}
x-commit-hash: "f26d70d64265a6bed7416d3db3bd14a5e090b6d6"

42
esy.lock/opam/eio_posix.1.2/opam generated Normal file
View File

@ -0,0 +1,42 @@
opam-version: "2.0"
synopsis: "Eio implementation for POSIX systems"
description: "An Eio implementation for most Unix-like platforms"
maintainer: ["anil@recoil.org"]
authors: ["Anil Madhavapeddy" "Thomas Leonard"]
license: "ISC"
homepage: "https://github.com/ocaml-multicore/eio"
doc: "https://ocaml-multicore.github.io/eio/"
bug-reports: "https://github.com/ocaml-multicore/eio/issues"
depends: [
"dune" {>= "3.9"}
"eio" {= version}
"iomux" {>= "0.2"}
"mdx" {>= "2.4.1" & with-test}
"conf-bash" {with-test}
"fmt" {>= "0.8.9"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
url {
src:
"https://github.com/ocaml-multicore/eio/releases/download/v1.2/eio-1.2.tbz"
checksum: [
"sha256=3792e912bd8d494bb2e38f73081825e4d212b1970cf2c1f1b2966caa9fd6bc40"
"sha512=4a80dbcf8cf2663bdad0f2970871844f37bd293c56bd1ce602910e0a613754945f1f942719f9630906453be7c73c1732dc97526c6c90b0b36100d04fd5e871e4"
]
}
x-commit-hash: "f26d70d64265a6bed7416d3db3bd14a5e090b6d6"

42
esy.lock/opam/eio_windows.1.2/opam generated Normal file
View File

@ -0,0 +1,42 @@
opam-version: "2.0"
synopsis: "Eio implementation for Windows"
description: "An Eio implementation using OCaml's Unix.select"
maintainer: ["anil@recoil.org"]
authors: ["Anil Madhavapeddy" "Thomas Leonard"]
license: "ISC"
homepage: "https://github.com/ocaml-multicore/eio"
doc: "https://ocaml-multicore.github.io/eio/"
bug-reports: "https://github.com/ocaml-multicore/eio/issues"
depends: [
"dune" {>= "3.9"}
"eio" {= version}
"fmt" {>= "0.8.9"}
"kcas" {>= "0.3.0" & with-test}
"alcotest" {>= "1.7.0" & with-test}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
url {
src:
"https://github.com/ocaml-multicore/eio/releases/download/v1.2/eio-1.2.tbz"
checksum: [
"sha256=3792e912bd8d494bb2e38f73081825e4d212b1970cf2c1f1b2966caa9fd6bc40"
"sha512=4a80dbcf8cf2663bdad0f2970871844f37bd293c56bd1ce602910e0a613754945f1f942719f9630906453be7c73c1732dc97526c6c90b0b36100d04fd5e871e4"
]
}
x-commit-hash: "f26d70d64265a6bed7416d3db3bd14a5e090b6d6"
available: [os = "win32"]

48
esy.lock/opam/hl_yaml.1.0.0/opam generated Normal file
View File

@ -0,0 +1,48 @@
opam-version: "2.0"
maintainer: "Simon Grondin"
authors: [ "Simon Grondin" ]
synopsis: "High-level preprocessing wrapper around the yaml library"
description: """
High Level YAML ("HL YAML") is a lightweight all-in-one tool to read, parse, preprocess, validate and deserialize YAML files.
For example, it enables configuration files written in YAML to reference environment variables, inline credentials files, and import other configuration files.
Additionally, the `<<:` "operator" similar to OCaml's `include`, as well as anchors (`&`) and references (`*`) can greatly reduce the amount of repetition in your YAML files.
HL YAML's features can be disabled individually and new ones added to serve specific use cases.
For IO, HL YAML can use Lwt, Eio, or the standard library.
"""
license: "MIT"
homepage: "https://github.com/SGrondin/hl_yaml"
dev-repo: "git://github.com/SGrondin/hl_yaml"
doc: "https://github.com/SGrondin/hl_yaml"
bug-reports: "https://github.com/SGrondin/hl_yaml/issues"
depends: [
"ocaml" { >= "5.0.0" }
"dune" { >= "1.9.0" }
# DEPENDENCIES
"yojson"
"ppx_deriving_yojson"
"yaml" { >= "3.2.0" }
# TESTS ONLY
"core" { with-test & >= "v0.16" }
"ppx_expect" { with-test }
"ppx_sexp_conv" { with-test }
"ppx_deriving_yojson" { with-test }
"ppx_custom_printf" { with-test }
"lwt" { with-test }
"eio_main" { with-test }
# "ocamlformat" { = "0.25.1" } # Development
# "ocaml-lsp-server" # Development
]
build: ["dune" "build" "-p" name "-j" jobs]
url {
src: "https://github.com/SGrondin/hl_yaml/archive/refs/tags/1.0.0.tar.gz"
checksum: [
"md5=df710f758a0937a92537956d8b768c88"
"sha512=b0882038cf0a1be411006921733f101b5954456d18fb8f4a1b527f47088e862c482ad997ecffc2226c84b018d48c39b4f4a2555157cc98896b1093136d16ff68"
]
}

View File

@ -1,10 +1,10 @@
opam-version: "2.0"
synopsis: "OCaml on x86 (32-bit)"
synopsis: "OCaml on amd64 (64-bit)"
description: """
This package is installed if the underlying OCaml compiler is for
32-bit Intel x86 (x86_32/x86).
64-bit Intel x86 (x86_64/amd64/x64).
Precisely, this means `ocamlopt -config-var architecture` equals `i386`.
Precisely, this means `ocamlopt -config-var architecture` equals `amd64`.
This package may be used in depends or conflicts fields of dependent packages
to indicate either a requirement or an incompatibility with this
@ -17,4 +17,4 @@ bug-reports: "https://github.com/ocaml/opam-repository/issues"
conflict-class: "ocaml-host-arch"
# Temporary, while these packages are not being installed by the compilers on
# non-Windows builds.
available: os = "win32" | arch = "x86_32"
available: os = "win32" | arch = "x86_64"

31
esy.lock/opam/integers.0.7.0/opam generated Normal file
View File

@ -0,0 +1,31 @@
opam-version: "2.0"
maintainer: "yallop@gmail.com"
authors: ["Jeremy Yallop"
"Demi Obenour"
"Stephane Glondu"
"Andreas Hauptmann"]
homepage: "https://github.com/yallop/ocaml-integers"
bug-reports: "https://github.com/yallop/ocaml-integers/issues"
dev-repo: "git+https://github.com/yallop/ocaml-integers.git"
license: "MIT"
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"ocaml" {>= "4.03"}
"dune" {>= "1.0"}
"stdlib-shims"
]
doc: "http://yallop.github.io/ocaml-integers/api.docdir/"
synopsis: "Various signed and unsigned integer types for OCaml"
url {
src: "https://github.com/yallop/ocaml-integers/archive/0.7.0.tar.gz"
checksum: [
"sha256=8bb517fa9a1818246eb8c4ce34ee1489fbebb4b92defa3a25d13cab8d23ec685"
"md5=201cf24143d7cb9a3921d572b6e6c42c"
]
}

43
esy.lock/opam/iomux.0.3/opam generated Normal file
View File

@ -0,0 +1,43 @@
opam-version: "2.0"
synopsis: "IO Multiplexer bindings"
description:
"Low level bindings for Unix IO Multiplexers (poll/ppoll/kevent/epoll)"
maintainer: ["Christiano Haesbaert"]
authors: ["Christiano Haesbaert"]
license: "ISC"
tags: ["io" "multiplexing" "poll" "ppoll" "epoll" "kevent" "kqueue"]
homepage: "https://github.com/haesbaert/ocaml-iomux"
doc: "https://haesbaert.github.io/ocaml-iomux"
bug-reports: "https://github.com/haesbaert/ocaml-iomux/issues"
available: os-family != "windows"
depends: [
"ocaml" {>= "4.08"}
"dune" {>= "3.6"}
"dune-configurator"
"alcotest" {with-test}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/haesbaert/ocaml-iomux.git"
url {
src:
"https://github.com/haesbaert/ocaml-iomux/releases/download/v0.3/iomux-0.3.tbz"
checksum: [
"sha256=ccd277bd53afd011291cb882f18eb5d05f3bba23257d8368dbc7a3d07f8453e7"
"sha512=9f7cfde9b97699946e36f7dbb19d04bdd943b45729d23797c5d3200f5e0dd93de7ba172fa03e060ca8379f01bf04c7cd1369bae87430d416c911270c3b586a90"
]
}
x-commit-hash: "b456e181582e2bc08217291bd135d7b61a727a84"

View File

@ -42,11 +42,10 @@ build: [
dev-repo: "git+https://github.com/mirage/ocaml-ipaddr.git"
url {
src:
"https://github.com/mirage/ocaml-ipaddr/releases/download/v5.6.0/ipaddr-5.6.0.tbz"
"https://github.com/mirage/ocaml-ipaddr/releases/download/v5.5.0/ipaddr-5.5.0.tbz"
checksum: [
"sha256=9e30433fdb4ca437a6aa8ffb447baca5eba7615fb88e7b0cd8a4b416c3208133"
"sha512=66a3bedfd91dacd6c1de9ba35abac3ef2ad3c2c8543f7b4e2a0cc6283a8d42138b48d02e904df0232ee9f320920e889bddbbda9a5148c5c6b72fd0164e0c6a34"
"sha256=62890b316e035792ad29af1ad971456d10defd525b74b53db1b67fa42375c178"
"sha512=d9742648e3e4fe3d0bc7a5b08e62d97dab5d52b6421712c0415b345ddeb63a2a5fbb61e3083e90ae8cf05009673975e2e2ece5e15bce256ccd34cbe78d810c83"
]
}
x-commit-hash: "a3852099627a9f9c56d75efe1c1adf4941c6c3d4"
x-maintenance-intent: [ "(latest)" ]
x-commit-hash: "234c6009a221e23a7dd4883756e6b2cc0d7c663b"

View File

@ -0,0 +1,24 @@
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/jane-street-headers"
bug-reports: "https://github.com/janestreet/jane-street-headers/issues"
dev-repo: "git+https://github.com/janestreet/jane-street-headers.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/jane-street-headers/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "5.1.0"}
"dune" {>= "3.11.0"}
]
available: arch != "x86_32"
synopsis: "Jane Street C header files"
description: "
C header files shared between the various Jane Street packages
"
url {
src: "https://github.com/janestreet/jane-street-headers/archive/refs/tags/v0.17.0.tar.gz"
checksum: "sha256=78fa6084cd067b7a7d930d1fe1cb7eb9dcd1a90c73017e570213b47a3762eb4f"
}

32
esy.lock/opam/jst-config.v0.17.0/opam generated Normal file
View File

@ -0,0 +1,32 @@
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/jst-config"
bug-reports: "https://github.com/janestreet/jst-config/issues"
dev-repo: "git+https://github.com/janestreet/jst-config.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/jst-config/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "5.1.0"}
"base" {>= "v0.17" & < "v0.18"}
"ppx_assert" {>= "v0.17" & < "v0.18"}
"dune" {>= "3.11.0"}
"dune-configurator"
]
available: arch != "x86_32"
synopsis: "Compile-time configuration for Jane Street libraries"
description: "
Defines compile-time constants used in Jane Street libraries such as Base, Core, and
Async.
This package has an unstable interface; it is intended only to share configuration between
different packages from Jane Street. Future updates may not be backward-compatible, and we
do not recommend using this package directly.
"
url {
src: "https://github.com/janestreet/jst-config/archive/refs/tags/v0.17.0.tar.gz"
checksum: "sha256=2cf345e33bed0ee4c325667e77dfc5bee8f12afd56318b7c9acf81ec875ecf6e"
}

View File

@ -32,11 +32,10 @@ Features:
"""
url {
src:
"https://github.com/mirage/ocaml-ipaddr/releases/download/v5.6.0/ipaddr-5.6.0.tbz"
"https://github.com/mirage/ocaml-ipaddr/releases/download/v5.5.0/ipaddr-5.5.0.tbz"
checksum: [
"sha256=9e30433fdb4ca437a6aa8ffb447baca5eba7615fb88e7b0cd8a4b416c3208133"
"sha512=66a3bedfd91dacd6c1de9ba35abac3ef2ad3c2c8543f7b4e2a0cc6283a8d42138b48d02e904df0232ee9f320920e889bddbbda9a5148c5c6b72fd0164e0c6a34"
"sha256=62890b316e035792ad29af1ad971456d10defd525b74b53db1b67fa42375c178"
"sha512=d9742648e3e4fe3d0bc7a5b08e62d97dab5d52b6421712c0415b345ddeb63a2a5fbb61e3083e90ae8cf05009673975e2e2ece5e15bce256ccd34cbe78d810c83"
]
}
x-commit-hash: "a3852099627a9f9c56d75efe1c1adf4941c6c3d4"
x-maintenance-intent: [ "(latest)" ]
x-commit-hash: "234c6009a221e23a7dd4883756e6b2cc0d7c663b"

View File

@ -45,10 +45,10 @@ build: [
dev-repo: "git+https://github.com/ocurrent/ocaml-version.git"
url {
src:
"https://github.com/ocurrent/ocaml-version/releases/download/v4.0.0/ocaml-version-4.0.0.tbz"
"https://github.com/ocurrent/ocaml-version/releases/download/v4.0.1/ocaml-version-4.0.1.tbz"
checksum: [
"md5=6734fe7a4f8ac3bea39a0bcf40a31a82"
"sha512=093a7aadb382a21ab5ae2a1d87bc06f9ecb4584ae6a8a2b492ffdf23dc4ae2788ce19cdf2ea87191dc7ee391ae2d26b734342880742f73cb700933d8cf6856e5"
"md5=7ac431b54bf48cc4340885acb37143fa"
"sha512=e2faa6f55cfeb305d4cdeb8b9f0ee87098c69f835b42dcebf4dfa1f865ce1e213fbd4e5de7bb4d4efaf9339fd0965380b1f7ea9a1e98131caed3ffaadf873b96"
]
}
x-maintenance-intent: ["(latest)"]

View File

@ -9,7 +9,7 @@ homepage: "https://github.com/ocaml/dune"
doc: "https://dune.readthedocs.io/"
bug-reports: "https://github.com/ocaml/dune/issues"
depends: [
"dune" {>= "3.12"}
"dune" {>= "3.18"}
"ocaml" {>= "4.08.0"}
"dyn" {= version}
"odoc" {with-doc}
@ -18,7 +18,7 @@ conflicts: [
"ocaml-lsp-server" {< "1.15.0"}
]
dev-repo: "git+https://github.com/ocaml/dune.git"
x-maintenance-intent: ["(none)"]
x-maintenance-intent: ["(latest)"]
build: [
["dune" "subst"] {dev}
["rm" "-rf" "vendor/csexp"]
@ -36,10 +36,10 @@ build: [
]
url {
src:
"https://github.com/ocaml/dune/releases/download/3.18.2/dune-3.18.2.tbz"
"https://github.com/ocaml/dune/releases/download/3.19.0/dune-3.19.0.tbz"
checksum: [
"sha256=56be509ffc3c5ba652113d9e6b43edb04a691f1e1f6cbba17b9d243b1239a7af"
"sha512=ee04a0c4ab946817018c78cd9b19c8d3082ee3b1cef78c699fff4ea37fd79543823a9751d0b945d2fd1783396ceded045cbec986a85f7a8f7bac93e04650fff3"
"sha256=d2f617dfd34f7d882f4181a22e359bb90b46669ed87b2650eb842f0532fc696c"
"sha512=9bd4c5825076c88192425f1462fedab1100d5b83a75dfe65592255b127690503b01b61c964990272abe54f0a01a14587ca464e438fa8b9d8560d2576773f39a8"
]
}
x-commit-hash: "7b971c877d1403da3d536cc180cdd384c7b26341"
x-commit-hash: "645a7897e4b9540cc4d79ffbd59f9be259cd6317"

37
esy.lock/opam/optint.0.3.0/opam generated Normal file
View File

@ -0,0 +1,37 @@
opam-version: "2.0"
maintainer: [ "romain.calascibetta@gmail.com" ]
authors: "Romain Calascibetta"
license: "ISC"
homepage: "https://github.com/mirage/optint"
bug-reports: "https://github.com/mirage/optint/issues"
dev-repo: "git+https://github.com/mirage/optint.git"
doc: "https://mirage.github.io/optint/"
synopsis: "Efficient integer types on 64-bit architectures"
description: """
This library provides two new integer types, `Optint.t` and `Int63.t`, which
guarantee efficient representation on 64-bit architectures and provide a
best-effort boxed representation on 32-bit architectures.
Implementation depends on target architecture.
"""
build: ["dune" "build" "-p" name "-j" jobs]
run-test: [ "dune" "runtest" "-p" name "-j" jobs ]
depends: [
"ocaml" {>= "4.07.0"}
"dune"
"crowbar" {with-test & >= "0.2"}
"monolith" {with-test}
"fmt" {with-test}
]
url {
src:
"https://github.com/mirage/optint/releases/download/v0.3.0/optint-0.3.0.tbz"
checksum: [
"sha256=295cff2c134b0385b13ba81d5005d9f841ba40d4a502aed10c997f239ef1147b"
"sha512=15ec97a076584e8ea28c589f1db3b9a0dd6fd5a7950528a1d136761cc13bca0e6e7bf6e0f87c73578a37393c213a7a0f3e7beaabd924e176459b29af52b8dd11"
]
}
x-commit-hash: "66d321700e7c8c6cbcd3cd7c391e35d4943eac4b"
x-maintenance-intent: [ "(latest)" ]

View File

@ -8,12 +8,12 @@ homepage: "https://github.com/ocaml/dune"
doc: "https://dune.readthedocs.io/"
bug-reports: "https://github.com/ocaml/dune/issues"
depends: [
"dune" {>= "3.12"}
"dune" {>= "3.18"}
"ocaml" {>= "4.08.0"}
"odoc" {with-doc}
]
dev-repo: "git+https://github.com/ocaml/dune.git"
x-maintenance-intent: ["(none)"]
x-maintenance-intent: ["(latest)"]
build: [
["dune" "subst"] {dev}
["rm" "-rf" "vendor/csexp"]
@ -31,10 +31,10 @@ build: [
]
url {
src:
"https://github.com/ocaml/dune/releases/download/3.18.2/dune-3.18.2.tbz"
"https://github.com/ocaml/dune/releases/download/3.19.0/dune-3.19.0.tbz"
checksum: [
"sha256=56be509ffc3c5ba652113d9e6b43edb04a691f1e1f6cbba17b9d243b1239a7af"
"sha512=ee04a0c4ab946817018c78cd9b19c8d3082ee3b1cef78c699fff4ea37fd79543823a9751d0b945d2fd1783396ceded045cbec986a85f7a8f7bac93e04650fff3"
"sha256=d2f617dfd34f7d882f4181a22e359bb90b46669ed87b2650eb842f0532fc696c"
"sha512=9bd4c5825076c88192425f1462fedab1100d5b83a75dfe65592255b127690503b01b61c964990272abe54f0a01a14587ca464e438fa8b9d8560d2576773f39a8"
]
}
x-commit-hash: "7b971c877d1403da3d536cc180cdd384c7b26341"
x-commit-hash: "645a7897e4b9540cc4d79ffbd59f9be259cd6317"

30
esy.lock/opam/ppx_assert.v0.17.0/opam generated Normal file
View File

@ -0,0 +1,30 @@
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/ppx_assert"
bug-reports: "https://github.com/janestreet/ppx_assert/issues"
dev-repo: "git+https://github.com/janestreet/ppx_assert.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/ppx_assert/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "5.1.0"}
"base" {>= "v0.17" & < "v0.18"}
"ppx_cold" {>= "v0.17" & < "v0.18"}
"ppx_compare" {>= "v0.17" & < "v0.18"}
"ppx_here" {>= "v0.17" & < "v0.18"}
"ppx_sexp_conv" {>= "v0.17" & < "v0.18"}
"dune" {>= "3.11.0"}
"ppxlib" {>= "0.28.0"}
]
available: arch != "x86_32"
synopsis: "Assert-like extension nodes that raise useful errors on failure"
description: "
Part of the Jane Street's PPX rewriters collection.
"
url {
src: "https://github.com/janestreet/ppx_assert/archive/refs/tags/v0.17.0.tar.gz"
checksum: "sha256=94c47289a6393642b1cca7d2cdb8decdbf387c3cee4faf50d9b00efc871cce8b"
}

37
esy.lock/opam/ppx_base.v0.17.0/opam generated Normal file
View File

@ -0,0 +1,37 @@
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/ppx_base"
bug-reports: "https://github.com/janestreet/ppx_base/issues"
dev-repo: "git+https://github.com/janestreet/ppx_base.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/ppx_base/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "5.1.0"}
"ppx_cold" {>= "v0.17" & < "v0.18"}
"ppx_compare" {>= "v0.17" & < "v0.18"}
"ppx_enumerate" {>= "v0.17" & < "v0.18"}
"ppx_globalize" {>= "v0.17" & < "v0.18"}
"ppx_hash" {>= "v0.17" & < "v0.18"}
"ppx_sexp_conv" {>= "v0.17" & < "v0.18"}
"dune" {>= "3.11.0"}
"ppxlib" {>= "0.28.0"}
]
conflicts: [
"base" {= "v.0.17.0"}
]
available: arch != "x86_32"
synopsis: "Base set of ppx rewriters"
description: "
ppx_base is the set of ppx rewriters used for Base.
Note that Base doesn't need ppx to build, it is only used as a
verification tool.
"
url {
src: "https://github.com/janestreet/ppx_base/archive/refs/tags/v0.17.0.tar.gz"
checksum: "sha256=80e7e6c6a704114d1d0989ee9bc01bca45278096c0caf3f2c4ef28d3c12ae61c"
}

26
esy.lock/opam/ppx_cold.v0.17.0/opam generated Normal file
View File

@ -0,0 +1,26 @@
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/ppx_cold"
bug-reports: "https://github.com/janestreet/ppx_cold/issues"
dev-repo: "git+https://github.com/janestreet/ppx_cold.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/ppx_cold/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "5.1.0"}
"base" {>= "v0.17" & < "v0.18"}
"dune" {>= "3.11.0"}
"ppxlib" {>= "0.28.0"}
]
available: arch != "x86_32"
synopsis: "Expands [@cold] into [@inline never][@specialise never][@local never]"
description: "
Part of the Jane Street's PPX rewriters collection.
"
url {
src: "https://github.com/janestreet/ppx_cold/archive/refs/tags/v0.17.0.tar.gz"
checksum: "sha256=670ee6f4efef2020a4bedf91b72cc2cd97ea0d74b47dad2f8f6b72d722a7452d"
}

27
esy.lock/opam/ppx_compare.v0.17.0/opam generated Normal file
View File

@ -0,0 +1,27 @@
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/ppx_compare"
bug-reports: "https://github.com/janestreet/ppx_compare/issues"
dev-repo: "git+https://github.com/janestreet/ppx_compare.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/ppx_compare/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "5.1.0"}
"base" {>= "v0.17" & < "v0.18"}
"ppxlib_jane" {>= "v0.17" & < "v0.18"}
"dune" {>= "3.11.0"}
"ppxlib" {>= "0.28.0"}
]
available: arch != "x86_32"
synopsis: "Generation of comparison functions from types"
description: "
Part of the Jane Street's PPX rewriters collection.
"
url {
src: "https://github.com/janestreet/ppx_compare/archive/refs/tags/v0.17.0.tar.gz"
checksum: "sha256=f0b23eb78082ef4dc71a66939bbc63c6b0cc2cf6a4744a906b7a2c016cbe3098"
}

39
esy.lock/opam/ppx_deriving.6.0.3/opam generated Normal file
View File

@ -0,0 +1,39 @@
opam-version: "2.0"
maintainer: "whitequark <whitequark@whitequark.org>"
authors: [ "whitequark <whitequark@whitequark.org>" ]
license: "MIT"
homepage: "https://github.com/ocaml-ppx/ppx_deriving"
doc: "https://ocaml-ppx.github.io/ppx_deriving/"
bug-reports: "https://github.com/ocaml-ppx/ppx_deriving/issues"
dev-repo: "git+https://github.com/ocaml-ppx/ppx_deriving.git"
tags: [ "syntax" ]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
]
depends: [
"ocaml" {>= "4.05.0"}
"dune" {>= "1.6.3"}
"cppo" {>= "1.1.0" & build}
"ocamlfind"
"ppx_derivers"
"ppxlib" {>= "0.32.0" & < "0.36.0"}
"ounit2" {with-test}
]
synopsis: "Type-driven code generation for OCaml"
description: """
ppx_deriving provides common infrastructure for generating
code based on type definitions, and a set of useful plugins
for common tasks.
"""
url {
src:
"https://github.com/ocaml-ppx/ppx_deriving/releases/download/v6.0.3/ppx_deriving-6.0.3.tbz"
checksum: [
"sha256=374aa97b32c5e01c09a97810a48bfa218c213b5b649e4452101455ac19c94a6d"
"sha512=971443a5df0acbdad577360deed8c9af137695bec6d826ef517a382941371f3546aef53456dda7c89d0ed30fefadf45d5dae2a8b1940a75aee7f7382c68cedb0"
]
}
x-commit-hash: "275140702ca6f97e0407f80e86de9d3940ee3ac8"

View File

@ -0,0 +1,36 @@
opam-version: "2.0"
maintainer: "whitequark <whitequark@whitequark.org>"
authors: [ "whitequark <whitequark@whitequark.org>" ]
license: "MIT"
homepage: "https://github.com/ocaml-ppx/ppx_deriving_yojson"
bug-reports: "https://github.com/ocaml-ppx/ppx_deriving_yojson/issues"
dev-repo: "git+https://github.com/ocaml-ppx/ppx_deriving_yojson.git"
tags: [ "syntax" "json" ]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"ocaml" {>= "4.05.0"}
"dune" {>= "1.0"}
"yojson" {>= "1.6.0"}
"ppx_deriving" {>= "5.1"}
"ppxlib" {>= "0.30.0" & < "0.36.0"}
"ounit2" {with-test}
]
synopsis:
"JSON codec generator for OCaml"
description: """
ppx_deriving_yojson is a ppx_deriving plugin that provides
a JSON codec generator.
"""
url {
src:
"https://github.com/ocaml-ppx/ppx_deriving_yojson/releases/download/v3.9.1/ppx_deriving_yojson-3.9.1.tbz"
checksum: [
"sha256=6a3ef7c7bb381f57448853f2a6d2287cf623628162a979587d1e8f7502114f4d"
"sha512=df919be7c023cb9ff1b832de333f8d158e88746b4cc33ea5dcf511c64aba186628015b6ca29a0310642531e0640d79834d64b99d542a624168154a11736489a0"
]
}
x-commit-hash: "67e1d3334c1e3b94152bbc9c8600b71d5ee61b39"

27
esy.lock/opam/ppx_enumerate.v0.17.0/opam generated Normal file
View File

@ -0,0 +1,27 @@
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/ppx_enumerate"
bug-reports: "https://github.com/janestreet/ppx_enumerate/issues"
dev-repo: "git+https://github.com/janestreet/ppx_enumerate.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/ppx_enumerate/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "5.1.0"}
"base" {>= "v0.17" & < "v0.18"}
"ppxlib_jane" {>= "v0.17" & < "v0.18"}
"dune" {>= "3.11.0"}
"ppxlib" {>= "0.28.0"}
]
available: arch != "x86_32"
synopsis: "Generate a list containing all values of a finite type"
description: "
Part of the Jane Street's PPX rewriters collection.
"
url {
src: "https://github.com/janestreet/ppx_enumerate/archive/refs/tags/v0.17.0.tar.gz"
checksum: "sha256=a27f1797b1315bdf7678fde783dff493bd348f1c5b644d7616b660bd295dad36"
}

27
esy.lock/opam/ppx_globalize.v0.17.0/opam generated Normal file
View File

@ -0,0 +1,27 @@
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/ppx_globalize"
bug-reports: "https://github.com/janestreet/ppx_globalize/issues"
dev-repo: "git+https://github.com/janestreet/ppx_globalize.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/ppx_globalize/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "5.1.0"}
"base" {>= "v0.17" & < "v0.18"}
"ppxlib_jane" {>= "v0.17" & != "v0.17.1"}
"dune" {>= "3.11.0"}
"ppxlib" {>= "0.28.0"}
]
available: arch != "x86_32"
synopsis: "A ppx rewriter that generates functions to copy local values to the global heap"
description: "
Part of the Jane Street's PPX rewriters collection.
"
url {
src: "https://github.com/janestreet/ppx_globalize/archive/refs/tags/v0.17.0.tar.gz"
checksum: "sha256=42a28764e39f641abfc723ec755c68f0b6467bf7f5057c6f326cef2c34e73618"
}

29
esy.lock/opam/ppx_hash.v0.17.0/opam generated Normal file
View File

@ -0,0 +1,29 @@
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/ppx_hash"
bug-reports: "https://github.com/janestreet/ppx_hash/issues"
dev-repo: "git+https://github.com/janestreet/ppx_hash.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/ppx_hash/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "5.1.0"}
"base" {>= "v0.17" & < "v0.18"}
"ppx_compare" {>= "v0.17" & < "v0.18"}
"ppx_sexp_conv" {>= "v0.17" & < "v0.18"}
"ppxlib_jane" {>= "v0.17" & < "v0.18"}
"dune" {>= "3.11.0"}
"ppxlib" {>= "0.28.0"}
]
available: arch != "x86_32"
synopsis: "A ppx rewriter that generates hash functions from type expressions and definitions"
description: "
Part of the Jane Street's PPX rewriters collection.
"
url {
src: "https://github.com/janestreet/ppx_hash/archive/refs/tags/v0.17.0.tar.gz"
checksum: "sha256=8c8acae276a349d412eab9112cc3afa996d26ad4a01f2882121fc0adee0dd05e"
}

26
esy.lock/opam/ppx_here.v0.17.0/opam generated Normal file
View File

@ -0,0 +1,26 @@
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/ppx_here"
bug-reports: "https://github.com/janestreet/ppx_here/issues"
dev-repo: "git+https://github.com/janestreet/ppx_here.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/ppx_here/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "5.1.0"}
"base" {>= "v0.17" & < "v0.18"}
"dune" {>= "3.11.0"}
"ppxlib" {>= "0.28.0"}
]
available: arch != "x86_32"
synopsis: "Expands [%here] into its location"
description: "
Part of the Jane Street's PPX rewriters collection.
"
url {
src: "https://github.com/janestreet/ppx_here/archive/refs/tags/v0.17.0.tar.gz"
checksum: "sha256=27ac69db34a5ff0efbf6e3c52d52dda46d1e5d5db4d14fb4d8c20370b932a913"
}

View File

@ -0,0 +1,27 @@
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/ppx_inline_test"
bug-reports: "https://github.com/janestreet/ppx_inline_test/issues"
dev-repo: "git+https://github.com/janestreet/ppx_inline_test.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/ppx_inline_test/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "5.1.0"}
"base" {>= "v0.17" & < "v0.18"}
"time_now" {>= "v0.17" & < "v0.18"}
"dune" {>= "3.11.0"}
"ppxlib" {>= "0.28.0" & < "0.36.0"}
]
available: arch != "x86_32"
synopsis: "Syntax extension for writing in-line tests in ocaml code"
description: "
Part of the Jane Street's PPX rewriters collection.
"
url {
src: "https://github.com/janestreet/ppx_inline_test/archive/refs/tags/v0.17.0.tar.gz"
checksum: "sha256=b71e4f01ab8aed418a3358688241a94b6d16d723deec7caaf5e4e917c2a76d2c"
}

27
esy.lock/opam/ppx_optcomp.v0.17.0/opam generated Normal file
View File

@ -0,0 +1,27 @@
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/ppx_optcomp"
bug-reports: "https://github.com/janestreet/ppx_optcomp/issues"
dev-repo: "git+https://github.com/janestreet/ppx_optcomp.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/ppx_optcomp/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "5.1.0"}
"base" {>= "v0.17" & < "v0.18"}
"stdio" {>= "v0.17" & < "v0.18"}
"dune" {>= "3.11.0"}
"ppxlib" {>= "0.28.0" & < "0.36.0"}
]
available: arch != "x86_32"
synopsis: "Optional compilation for OCaml"
description: "
Part of the Jane Street's PPX rewriters collection.
"
url {
src: "https://github.com/janestreet/ppx_optcomp/archive/refs/tags/v0.17.0.tar.gz"
checksum: "sha256=a62010eaf74035ee48ef2095da464f16fb6a087948a6c9d69dd1551c4836c64b"
}

28
esy.lock/opam/ppx_sexp_conv.v0.17.0/opam generated Normal file
View File

@ -0,0 +1,28 @@
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/ppx_sexp_conv"
bug-reports: "https://github.com/janestreet/ppx_sexp_conv/issues"
dev-repo: "git+https://github.com/janestreet/ppx_sexp_conv.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/ppx_sexp_conv/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "5.1.0"}
"base" {>= "v0.17" & < "v0.18"}
"ppxlib_jane" {>= "v0.17" & < "v0.18"}
"sexplib0" {>= "v0.17" & < "v0.18"}
"dune" {>= "3.11.0"}
"ppxlib" {>= "0.28.0" & < "0.36.0"}
]
available: arch != "x86_32"
synopsis: "[@@deriving] plugin to generate S-expression conversion functions"
description: "
Part of the Jane Street's PPX rewriters collection.
"
url {
src: "https://github.com/janestreet/ppx_sexp_conv/archive/refs/tags/v0.17.0.tar.gz"
checksum: "sha256=4af4f99d774fab77bf63ba2298fc288c356a88bdac0a37e3a23b0d669410ee5a"
}

25
esy.lock/opam/ppxlib_jane.v0.17.0/opam generated Normal file
View File

@ -0,0 +1,25 @@
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/ppxlib_jane"
bug-reports: "https://github.com/janestreet/ppxlib_jane/issues"
dev-repo: "git+https://github.com/janestreet/ppxlib_jane.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/ppxlib_jane/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "5.1.0" & < "5.3"}
"dune" {>= "3.11.0"}
"ppxlib" {>= "0.28.0" & < "0.36.0"}
]
available: arch != "x86_32"
synopsis: "Utilities for working with Jane Street AST constructs"
description: "
Part of the Jane Street's PPX rewriters collection.
"
url {
src: "https://github.com/janestreet/ppxlib_jane/archive/refs/tags/v0.17.0.tar.gz"
checksum: "sha256=42757d7b44a5f2a766778e6b4710100c6ef9d0c074eb3e7fa4c69647336d8398"
}

View File

@ -9,7 +9,7 @@ homepage: "https://github.com/ocaml/dune"
doc: "https://dune.readthedocs.io/"
bug-reports: "https://github.com/ocaml/dune/issues"
depends: [
"dune" {>= "3.12"}
"dune" {>= "3.18"}
"ocaml" {>= "4.08.0"}
"base-unix"
"dyn" {= version}
@ -19,7 +19,7 @@ depends: [
"odoc" {with-doc}
]
dev-repo: "git+https://github.com/ocaml/dune.git"
x-maintenance-intent: ["(none)"]
x-maintenance-intent: ["(latest)"]
build: [
["dune" "subst"] {dev}
["rm" "-rf" "vendor/csexp"]
@ -37,10 +37,10 @@ build: [
]
url {
src:
"https://github.com/ocaml/dune/releases/download/3.18.2/dune-3.18.2.tbz"
"https://github.com/ocaml/dune/releases/download/3.19.0/dune-3.19.0.tbz"
checksum: [
"sha256=56be509ffc3c5ba652113d9e6b43edb04a691f1e1f6cbba17b9d243b1239a7af"
"sha512=ee04a0c4ab946817018c78cd9b19c8d3082ee3b1cef78c699fff4ea37fd79543823a9751d0b945d2fd1783396ceded045cbec986a85f7a8f7bac93e04650fff3"
"sha256=d2f617dfd34f7d882f4181a22e359bb90b46669ed87b2650eb842f0532fc696c"
"sha512=9bd4c5825076c88192425f1462fedab1100d5b83a75dfe65592255b127690503b01b61c964990272abe54f0a01a14587ca464e438fa8b9d8560d2576773f39a8"
]
}
x-commit-hash: "7b971c877d1403da3d536cc180cdd384c7b26341"
x-commit-hash: "645a7897e4b9540cc4d79ffbd59f9be259cd6317"

39
esy.lock/opam/thread-table.1.0.0/opam generated Normal file
View File

@ -0,0 +1,39 @@
opam-version: "2.0"
synopsis: "A lock-free thread-safe integer keyed hash table"
description:
"A minimalist lock-free thread-safe integer keyed hash table with zero synchronization overhead on lookups designed for associating thread specific state with threads within a domain."
maintainer: ["Vesa Karvonen <vesa.a.j.k@gmail.com>"]
authors: ["Vesa Karvonen <vesa.a.j.k@gmail.com>"]
license: "ISC"
homepage: "https://github.com/ocaml-multicore/thread-table"
bug-reports: "https://github.com/ocaml-multicore/thread-table/issues"
depends: [
"dune" {>= "3.3"}
"ocaml" {>= "4.08"}
"alcotest" {>= "1.7.0" & with-test}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/ocaml-multicore/thread-table.git"
url {
src:
"https://github.com/ocaml-multicore/thread-table/releases/download/1.0.0/thread-table-1.0.0.tbz"
checksum: [
"sha256=a48cd88463597df9442c4baa69ccc06091ca77ba71e438d3609fbae0f3b81ddd"
"sha512=f857cec49a59cba206b8cc2c580f8c5252c95c7676e81b4c5326d07fc6a7da592785cf011c91d4e6f39f8c5766e280f559c58e02a5077d472577784d646cc2e5"
]
}
x-commit-hash: "7a31ebaad645cd8e99e0742d21b61d3014dbe265"

30
esy.lock/opam/time_now.v0.17.0/opam generated Normal file
View File

@ -0,0 +1,30 @@
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/time_now"
bug-reports: "https://github.com/janestreet/time_now/issues"
dev-repo: "git+https://github.com/janestreet/time_now.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/time_now/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "5.1.0"}
"base" {>= "v0.17" & < "v0.18"}
"jane-street-headers" {>= "v0.17" & < "v0.18"}
"jst-config" {>= "v0.17" & < "v0.18"}
"ppx_base" {>= "v0.17" & < "v0.18"}
"ppx_optcomp" {>= "v0.17" & < "v0.18"}
"dune" {>= "3.11.0"}
]
available: arch != "x86_32"
synopsis: "Reports the current time"
description: "
Provides a single function to report the current time in nanoseconds
since the start of the Unix epoch.
"
url {
src: "https://github.com/janestreet/time_now/archive/refs/tags/v0.17.0.tar.gz"
checksum: "sha256=fc85d6e46c4eb9370de9385f7bbfa6d57b4e48a9e96b20009007226b73f9530c"
}

View File

@ -35,3 +35,4 @@ url {
]
}
x-commit-hash: "c336c796f4deb8979a4c7ceea3bef34b46240623"
x-maintenance-intent: [ "(latest)" ]

56
esy.lock/opam/uring.0.9/opam generated Normal file
View File

@ -0,0 +1,56 @@
opam-version: "2.0"
synopsis: "OCaml bindings for Linux io_uring"
description:
"Bindings to the Linux io_uring kernel IO interfaces. See https://github.com/ocaml-multicore/eio for a higher-level API using this."
maintainer: ["anil@recoil.org"]
authors: ["Anil Madhavapeddy" "Sadiq Jaffer" "Thomas Leonard"]
homepage: "https://github.com/ocaml-multicore/ocaml-uring"
doc: "https://ocaml-multicore.github.io/ocaml-uring/"
bug-reports: "https://github.com/ocaml-multicore/ocaml-uring/issues"
depends: [
"dune" {>= "3.0"}
"cstruct" {>= "6.0.1"}
"ocaml" {>= "4.12.0"}
"dune-configurator"
"lwt" {with-test & >= "5.0.0"}
"bechamel" {>= "0.1.0" & with-test}
"logs" {with-test & >= "0.5.0"}
"cmdliner" {with-test & >= "1.1.0"}
"fmt" {>= "0.8.10"}
"optint" {>= "0.1.0"}
"mdx" {>= "2.1.0" & with-test}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/ocaml-multicore/ocaml-uring.git"
depexts: [
["linux-headers"] {os-distribution = "alpine"}
]
available: [os = "linux"]
license: ["ISC" "MIT"]
x-ci-accept-failures: [
"centos-7" # default C compiler does not support stdatomic.h
"oraclelinux-7" # default C compiler does not support stdatomic.h
]
url {
src:
"https://github.com/ocaml-multicore/ocaml-uring/releases/download/v0.9/uring-0.9.tbz"
checksum: [
"sha256=797588c5f2fd52c28a7f8b1a9c18ca7ebe8e7787cf0dcb559e453ec232175b43"
"sha512=59052cfc089ea1e7bdd7c3dc1ed94eaf297ffe0731a87986e45bb8d96544a53fffb2262ee4382eea5add0cc4a11b91cf6d45a2a72380baa24559bf3e1814432c"
]
}
x-commit-hash: "ccd5ee3a12bce938add6a40b7a03dbc20429a0ca"

View File

@ -9,11 +9,12 @@ homepage: "https://github.com/ocaml/dune"
doc: "https://dune.readthedocs.io/"
bug-reports: "https://github.com/ocaml/dune/issues"
depends: [
"dune" {>= "3.12"}
"dune" {>= "3.18"}
"ocaml" {>= "4.08"}
"odoc" {with-doc}
]
dev-repo: "git+https://github.com/ocaml/dune.git"
x-maintenance-intent: ["(latest)"]
build: [
["dune" "subst"] {dev}
["rm" "-rf" "vendor/csexp"]
@ -31,10 +32,10 @@ build: [
]
url {
src:
"https://github.com/ocaml/dune/releases/download/3.18.2/dune-3.18.2.tbz"
"https://github.com/ocaml/dune/releases/download/3.19.0/dune-3.19.0.tbz"
checksum: [
"sha256=56be509ffc3c5ba652113d9e6b43edb04a691f1e1f6cbba17b9d243b1239a7af"
"sha512=ee04a0c4ab946817018c78cd9b19c8d3082ee3b1cef78c699fff4ea37fd79543823a9751d0b945d2fd1783396ceded045cbec986a85f7a8f7bac93e04650fff3"
"sha256=d2f617dfd34f7d882f4181a22e359bb90b46669ed87b2650eb842f0532fc696c"
"sha512=9bd4c5825076c88192425f1462fedab1100d5b83a75dfe65592255b127690503b01b61c964990272abe54f0a01a14587ca464e438fa8b9d8560d2576773f39a8"
]
}
x-commit-hash: "7b971c877d1403da3d536cc180cdd384c7b26341"
x-commit-hash: "645a7897e4b9540cc4d79ffbd59f9be259cd6317"

55
esy.lock/opam/yaml.3.2.0/opam generated Normal file
View File

@ -0,0 +1,55 @@
opam-version: "2.0"
synopsis: "Parse and generate YAML 1.1/1.2 files"
description: """\
This is an OCaml library to parse and generate the YAML file
format. It is intended to interoperable with the [Ezjsonm](https://github.com/mirage/ezjsonm)
JSON handling library, if the simple common subset of Yaml
is used. Anchors and other advanced Yaml features are not
implemented in the JSON compatibility layer.
The [Yaml module docs](http://anil-code.recoil.org/ocaml-yaml/yaml/Yaml/index.html) are browseable online."""
maintainer: "Anil Madhavapeddy <anil@recoil.org>"
authors: [
"Anil Madhavapeddy <anil@recoil.org>"
"Rizo Isrof <rizo@odis.io>"
"Patrick Ferris"
"favonia@gmail.com"
"Alan J Hu <alanh@ccs.neu.edu>"
]
license: "ISC"
tags: ["org:mirage" "org:ocamllabs"]
homepage: "https://github.com/avsm/ocaml-yaml"
doc: "https://avsm.github.io/ocaml-yaml/"
bug-reports: "https://github.com/avsm/ocaml-yaml/issues"
depends: [
"ocaml" {>= "4.13.0"}
"dune" {>= "2.0"}
"dune-configurator"
"ctypes" {>= "0.14.0"}
"bos"
"fmt" {with-test}
"logs" {with-test}
"mdx" {with-test & >= "2.1.0"}
"alcotest" {>="1.5.0" & with-test}
"crowbar" {with-test}
"junit_alcotest" {>= "2.0.2" & with-test}
"ezjsonm" {with-test}
]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/avsm/ocaml-yaml.git"
conflicts:[
"result" {< "1.5"}
]
url {
src:
"https://github.com/avsm/ocaml-yaml/releases/download/v3.2.0/yaml-3.2.0.tbz"
checksum: [
"sha256=c50d2aca28b9f966792b71e1603351e5d24eda4dfd3e4453fbd50366a3a08227"
"sha512=e87ae73f3e376800a09e4359d5c7090ef5107807f540b51fbdee9017bcbacb2414ec12255b37caead115ea1562303436cac2c91c60814c2ba44bdd3d677fc0d1"
]
}
x-commit-hash: "d126d9417d85096e421dd3c4cf3550e18ffc3c4e"

View File

@ -0,0 +1,3 @@
{
"build": "true"
}

View File

@ -0,0 +1,3 @@
{
"build": "true"
}

5
lib/dune Normal file
View File

@ -0,0 +1,5 @@
(library
(public_name rechiko)
(name rechiko)
(libraries hl_yaml yojson eio)
(modules page frontmatter))

70
lib/frontmatter.ml Normal file
View File

@ -0,0 +1,70 @@
module Y = Hl_yaml.Unix
module StringMap = Map.Make (String)
exception Frontmatter_parse_error of string
(* Type for frontmatter data *)
type t = Yojson.Safe.t StringMap.t
(* Extract YAML frontmatter from markdown content *)
let extract_frontmatter (content : string) : string * string =
let content = String.trim content in
let len = String.length content in
(* Check if content starts with --- *)
if len < 6 || not (String.starts_with ~prefix:"---" content) then ("", content)
else
(* Find the end of the first line (after opening ---) *)
match String.index_from_opt content 3 '\n' with
| None -> ("", content) (* No newline after opening --- *)
| Some first_newline -> (
let yaml_start = first_newline + 1 in
if yaml_start >= len then ("", content)
else
let yaml_section = String.sub content yaml_start (len - yaml_start) in
(* Find the closing --- at the start of a line *)
let closing_pos_opt =
try
Some
(Str.search_forward (Str.regexp "^---[ \t]*$") yaml_section 0)
with Not_found -> None
in
match closing_pos_opt with
| None -> ("", content)
| Some closing_pos ->
let yaml_content = String.sub yaml_section 0 closing_pos in
(* Find content after the closing --- *)
let after_closing = yaml_start + closing_pos in
let remaining_content =
match String.index_from_opt content after_closing '\n' with
| None -> ""
| Some next_line ->
let content_start = next_line + 1 in
if content_start >= len then ""
else String.sub content content_start (len - content_start)
in
(String.trim yaml_content, String.trim remaining_content))
(* Convert Yojson object to StringMap *)
let yojson_to_string_map = function
| `Assoc assoc ->
Ok
(List.fold_left
(fun acc (key, value) -> StringMap.add key value acc)
StringMap.empty assoc)
| _ -> Error "Frontmatter must be a YAML object/map"
let parse_frontmatter (yaml_content : string) : t =
if String.trim yaml_content = "" then StringMap.empty
else
try
let options = Y.make_options ~enable_imports:false () in
let result =
Y.parse ~options ~of_yojson:yojson_to_string_map yaml_content
in
Y.ok_or_raise result
with exn ->
raise
(Frontmatter_parse_error ("Parsing failed: " ^ Printexc.to_string exn))

66
lib/frontmatter.mli Normal file
View File

@ -0,0 +1,66 @@
(** Frontmatter parser for Markdown files using YAML.
This module provides functionality to extract and parse YAML frontmatter
from Markdown files. Frontmatter is expected to be delimited by triple
dashes (---) at the beginning of the file.
Example:
{[
---
title: My Blog Post
author: John Doe
published: true
tags:
- ocaml
- yaml
---
# My Blog Post
Content goes here...
]} *)
module StringMap : Map.S with type key = string
(** String-keyed map type for storing frontmatter key-value pairs. *)
type t = Yojson.Safe.t StringMap.t
(** Type representing the frontmatter as a map of string keys to JSON values. *)
exception Frontmatter_parse_error of string
(** Exception raised when frontmatter parsing fails. *)
val extract_frontmatter : string -> string * string
(** [extract_frontmatter content] extracts the YAML frontmatter from the
beginning of the markdown content. It returns the YAML part and the rest of
the content as a tuple.
@param content The markdown content to extract frontmatter from
@return A tuple of (yaml_content, remaining_content)
The function expects frontmatter to be:
- Delimited by triple dashes (---) at the start and end
- Located at the very beginning of the content
This function by design does not check the YAML-validity of the frontmatter.
This is by design. If there is frontmatter-shaped text at the beginning of a
markdown file, it must not be silently parsed as content. A YAML parsing
error whenever the parsing happens is desired instead. *)
val parse_frontmatter : string -> t
(** [parse_frontmatter content] parses YAML frontmatter from a string.
@param content The frontmatter part of the markdown content
@return
A map where keys are frontmatter field names and values are the
corresponding JSON values preserving their original types
@raise Frontmatter_parse_error
if the YAML parsing fails or if the frontmatter is not a valid YAML
object/map
Returns an empty map if:
- The frontmatter section is empty
The function expects frontmatter to be:
- Valid YAML that parses to an object/map structure
Security note: File imports are disabled during parsing for security. *)

7
lib/page.ml Normal file
View File

@ -0,0 +1,7 @@
module UserPage = struct
type t = { frontmatter : Frontmatter.t; content : string }
(* let of_string (content : string) : t =
match Frontmatter.extract_frontmatter content with
| (yaml_content, remaining_content) -> *)
end

View File

@ -9,8 +9,13 @@
"dependencies": {
"@opam/dream": "1.0.0~alpha7",
"@opam/dune": "*",
"@opam/eio": "1.2",
"@opam/eio_main": "1.2",
"@opam/hl_yaml": "1.0.0",
"@opam/html_of_jsx": "0.0.4",
"@opam/reason": "3.15.0"
"@opam/ppx_inline_test": "v0.17.0",
"@opam/reason": "3.15.0",
"@opam/yojson": "2.2.2"
},
"devDependencies": {
"@opam/merlin": "5.3-502",

5
page.ml Normal file
View File

@ -0,0 +1,5 @@
open Rechiko.Frontmatter
type t = {
}

5
test/dune Normal file
View File

@ -0,0 +1,5 @@
(library
(name test_frontmatter)
(libraries eio.mock rechiko)
(inline_tests)
(preprocess (pps ppx_inline_test)))

3
test/test_frontmatter.ml Normal file
View File

@ -0,0 +1,3 @@
open Rechiko.Frontmatter
(* TODO: add tests for extract_frontmatter & parse_frontmatter *)