-
Notifications
You must be signed in to change notification settings - Fork 54
/
dune-project
45 lines (42 loc) · 1.92 KB
/
dune-project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
(lang dune 3.6)
(name eliom)
(version 11.1.1)
(maintainers dev@ocsigen.org)
(authors dev@ocsigen.org)
(license "LGPL-2.1-only WITH OCaml-LGPL-linking-exception")
(package
(name eliom)
(synopsis "Advanced client/server Web and mobile framework")
(description "Eliom is a framework for implementing Web sites and client/server Web and mobile applications.
It uses advanced concepts to simplify the implementation of common behaviors (e.g. scoped sessions, continuation based Web programming ...).
It uses advanced static typing features of OCaml to check many properties of the Web application at compile-time (html, page parameters ...).
Eliom allows implementing the whole application as a single program that includes both the client and the server code. For example, you can implement event handlers (onclick ...) directly in OCaml, and you can call a server-side OCaml function from the client. Pages are generated either on the server or the client.
These client-side features remain compatible with traditional Web programming (links, forms, URLs, bookmarks, sessions ...).
It is possible to generate mobile applications for Android and iOS with the exact same code as your Web application.
The client-side code is compiled to JS using Ocsigen Js_of_ocaml or to Wasm using Wasm_of_ocaml.
")
(homepage https://ocsigen.org/eliom/)
(source (github ocsigen/eliom))
(depends
(ocaml (>= 4.12.0))
ocamlfind
ppx_deriving
(ppxlib (>= 0.15.0))
(js_of_ocaml-compiler (>= 5.5.0))
(js_of_ocaml (>= 5.5.0))
(js_of_ocaml-lwt (>= 5.5.0))
(js_of_ocaml-ocamlbuild :build)
(js_of_ocaml-ppx (>= 5.5.0))
(js_of_ocaml-ppx_deriving_json (>= 5.5.0))
(js_of_ocaml-tyxml (>= 5.5.0))
lwt_log
(lwt_ppx (>= 1.2.3))
(tyxml (and (>= 4.6.0) (< 4.7.0)))
(ocsigenserver (and (>= 6.0.0) (< 7.0.0)))
(ipaddr (>= 2.1))
(reactiveData (>= 0.2.1))
base-bytes
(ocsipersist (and (>= 2.0) (< 3.0)))
ppx_optcomp
(xml-light (>= "2.5"))))
(generate_opam_files)