-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdune-project
More file actions
123 lines (109 loc) · 2.38 KB
/
Copy pathdune-project
File metadata and controls
123 lines (109 loc) · 2.38 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
(lang dune 3.22)
(name oystermark)
(generate_opam_files true)
(source
(github username/reponame))
(authors "Author Name <author@example.com>")
(maintainers "Maintainer Name <maintainer@example.com>")
(license LICENSE)
(documentation https://url/to/documentation)
; The mlx dialect: .mlx files are OCaml + JSX syntax, lowered to plain OCaml
; parsetree (carrying [@JSX]) by mlx-pp, then [@JSX] is lowered per-library by
; (preprocess (pps html_of_jsx.ppx)). merlin_reader points at ocamlmerlin-mlx.
; mlmdx (pkg/mlmdx) reuses this chain to render .mlx components embedded in pages.
(dialect
(name mlx)
(implementation
(extension mlx)
(merlin_reader mlx)
(preprocess
(run mlx-pp %{input-file}))))
; The mlmdx dialect: .mlmdx files are prose-first Markdown pages. mlmdx-pp emits
; a plain-OCaml parsetree (structural nodes as JSX.node calls; embedded {expr}
; parsed with the real OCaml parser). ocamlmerlin-mlmdx shares the same codegen.
(dialect
(name mlmdx)
(implementation
(extension mlmdx)
(merlin_reader mlmdx)
(preprocess
(run mlmdx-pp %{input-file}))))
(package
(name oystermark-core)
(synopsis "Oystermark parser: CommonMark and various extensions")
(description
"Pre-resolution, file-level parsing of Oystermark documents.")
(depends
ocaml
(dune
(>= 3.22))
oymarkit
core
yaml
yojson
ppx_jane
ppx_string
ppx_quick_test
ppx_yojson_conv
(ppx_expect :with-test)))
(package
(name oystermark)
(synopsis "A short synopsis")
(description "A longer description")
(depends
ocaml
(dune
(>= 3.22))
oystermark-core
oymarkit
merlin-extend
core
core_unix
tyxml
ocamlgraph
yaml
yojson
base64
ppx_jane
ppx_string
ppx_blob
ppx_quick_test
trace
opentelemetry
opentelemetry-client-cohttp-eio
linol-eio
eio_main
(textutils :with-test)
(ppx_expect :with-test)
(ppx_trace :with-test)
(shexp :with-doc)
(odoc :with-doc))
(tags
("add topics" "to describe" your project)))
(package
(name spec)
(allow_empty)
(synopsis "")
(description "")
(depends
ocaml
(dune
(>= 3.22))
core
ppx_jane
opentelemetry
))
(package
(name trace-collect)
(synopsis "A short synopsis")
(description "A longer description")
(depends
ocaml
(dune
(>= 3.22))
core
opentelemetry
trace
ambient-context
))
; See the complete stanza docs at https://dune.readthedocs.io/en/stable/reference/dune-project/index.html