chore: init repo
This commit is contained in:
commit
f90206e57e
10 changed files with 68 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
_build
|
||||||
3
README.md
Normal file
3
README.md
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# Hsim
|
||||||
|
|
||||||
|
A hybrid system simulation semantics.
|
||||||
5
TODO.md
Normal file
5
TODO.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
# TODO
|
||||||
|
|
||||||
|
- define hybrid systems as synchronous systems on streams of functions
|
||||||
|
- define the abstract solver interface
|
||||||
|
- implement the main simulation function
|
||||||
4
bin/dune
Normal file
4
bin/dune
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
(executable
|
||||||
|
(public_name hsim)
|
||||||
|
(name main)
|
||||||
|
(libraries hsim))
|
||||||
1
bin/main.ml
Normal file
1
bin/main.ml
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
let () = print_endline "Hello, World!"
|
||||||
21
dune-project
Normal file
21
dune-project
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
(lang dune 3.17)
|
||||||
|
(using menhir 3.0)
|
||||||
|
|
||||||
|
(name hsim)
|
||||||
|
(license "GPL-3.0-or-later")
|
||||||
|
|
||||||
|
(authors "Henri Saudubray")
|
||||||
|
(maintainers "henri.saudubray@proton.me")
|
||||||
|
|
||||||
|
(source (uri https://codeberg.org/17maiga/hsim))
|
||||||
|
(homepage https://codeberg.org/17maiga/hsim)
|
||||||
|
(bug_reports https://codeberg.org/17maiga/hsim/issues)
|
||||||
|
|
||||||
|
(generate_opam_files true)
|
||||||
|
|
||||||
|
(documentation https://url/to/documentation)
|
||||||
|
|
||||||
|
(package
|
||||||
|
(name hsim)
|
||||||
|
(synopsis "An executable semantics for the simulation of hybrid systems")
|
||||||
|
(depends ocaml))
|
||||||
29
hsim.opam
Normal file
29
hsim.opam
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
# This file is generated by dune, edit dune-project instead
|
||||||
|
opam-version: "2.0"
|
||||||
|
synopsis: "An executable semantics for the simulation of hybrid systems"
|
||||||
|
maintainer: ["henri.saudubray@proton.me"]
|
||||||
|
authors: ["Henri Saudubray"]
|
||||||
|
license: "GPL-3.0-or-later"
|
||||||
|
homepage: "https://codeberg.org/17maiga/hsim"
|
||||||
|
doc: "https://url/to/documentation"
|
||||||
|
bug-reports: "https://codeberg.org/17maiga/hsim/issues"
|
||||||
|
depends: [
|
||||||
|
"dune" {>= "3.17"}
|
||||||
|
"ocaml"
|
||||||
|
"odoc" {with-doc}
|
||||||
|
]
|
||||||
|
build: [
|
||||||
|
["dune" "subst"] {dev}
|
||||||
|
[
|
||||||
|
"dune"
|
||||||
|
"build"
|
||||||
|
"-p"
|
||||||
|
name
|
||||||
|
"-j"
|
||||||
|
jobs
|
||||||
|
"@install"
|
||||||
|
"@runtest" {with-test}
|
||||||
|
"@doc" {with-doc}
|
||||||
|
]
|
||||||
|
]
|
||||||
|
dev-repo: "https://codeberg.org/17maiga/hsim"
|
||||||
2
lib/dune
Normal file
2
lib/dune
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
(library
|
||||||
|
(name hsim))
|
||||||
2
test/dune
Normal file
2
test/dune
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
(test
|
||||||
|
(name test_hsim))
|
||||||
0
test/test_hsim.ml
Normal file
0
test/test_hsim.ml
Normal file
Loading…
Add table
Add a link
Reference in a new issue