Transfer code (#1)

* copy project root files

* import previously created code and rename where needed

* fix license and lint

* main is now just a JS wrapper

* minified main.cjs rather than copying to a newly named file
This commit is contained in:
2026-05-28 12:35:03 +02:00
committed by GitHub
parent 1561720e5f
commit 79155255f6
38 changed files with 1850 additions and 10 deletions
+23
View File
@@ -0,0 +1,23 @@
default: clean build
clean:
dune clean
build:
dune build --profile release
test:
dune runtest
install-deps:
opam install dune sedlex menhir js_of_ocaml js_of_ocaml-ppx ounit2 ocaml-lsp-server ocamlformat
check:
opam lint
dune build @fmt @install @runtest @lint
# bench:
# ocamlopt -o benchmarks/strings unix.cmxa benchmarks/strings.ml
# benchmarks/strings
.PHONY: clean test