Skip to content

Commit

Permalink
opam project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
lukstafi committed Nov 25, 2022
1 parent 2714374 commit 84f0798
Show file tree
Hide file tree
Showing 10 changed files with 410 additions and 346 deletions.
29 changes: 29 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
*.annot
*.cmo
*.cma
*.cmi
*.a
*.o
*.cmx
*.cmxs
*.cmxa

# ocamlbuild working directory
_build/

# ocamlbuild targets
*.byte
*.native

# oasis generated files
setup.data
setup.log

# Merlin configuring file for Vim and Emacs
.merlin

# Dune generated files
*.install

# Local OPAM switch
_opam/
678 changes: 339 additions & 339 deletions LICENSE

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ocannl
======

OCaNNL: OCaml Neural Networks and NLP Library

The intent of this project is to implement algorithms and reproduce results from the literature, not to conduct original research.

ocannl
======

OCaNNL: OCaml Neural Networks and NLP Library

The intent of this project is to implement algorithms and reproduce results from the literature, not to conduct original research.

The implementation will be based on MetaOCaml. It will vaguely follow Andrej Karpathy's "NNs From Zero to Hero".
4 changes: 4 additions & 0 deletions bin/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(executable
(public_name ocannl)
(name main)
(libraries ocannl))
1 change: 1 addition & 0 deletions bin/main.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
let () = print_endline "Hello, World!"
26 changes: 26 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
(lang dune 3.6)

(name ocannl)

(generate_opam_files true)

(source
(github username/reponame))

(authors "Author Name")

(maintainers "Maintainer Name")

(license LICENSE)

(documentation https://url/to/documentation)

(package
(name ocannl)
(synopsis "A short synopsis")
(description "A longer description")
(depends ocaml dune)
(tags
(topics "to describe" your project)))

; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project
2 changes: 2 additions & 0 deletions lib/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(library
(name ocannl))
Empty file added ocannl.opam
Empty file.
2 changes: 2 additions & 0 deletions test/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(test
(name ocannl))
Empty file added test/ocannl.ml
Empty file.

0 comments on commit 84f0798

Please sign in to comment.