This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,6 @@
(melange.emit
(target mli)
(modules x)
(libraries lib)
(emit_stdlib false)
(alias mel))

View file

@ -0,0 +1,6 @@
(lang dune 3.8)
(using melange 0.1)
(package
(name x))

View file

@ -0,0 +1,3 @@
(library
(name lib)
(modes melange))

View file

@ -0,0 +1 @@
let it = "it"

View file

@ -0,0 +1 @@
val it: string

View file

@ -0,0 +1,4 @@
Compilation using melange, with interface files
$ dune build @mel
$ node ./_build/default/mli/x.js
buy it

View file

@ -0,0 +1,3 @@
let buy_it = "buy " ^ Lib.Y.it
let () = print_endline buy_it