Quantcast
Channel: Active questions tagged ocaml - Stack Overflow
Viewing all articles
Browse latest Browse all 527

Can you compile an OCaml project natively as a windows library?

$
0
0

I am new to OCaml (but I have used SML in the past) and I want to know two things:
1- Can OCaml programs be compiled as libraries at all?
2- If so, can they be compiled as native Windows dlls.

What I want to do is create an compiler library in OCaml using LLVM and use it from another Windows program.

PS: I know I can use LLVM from C++ and C, but I prefer OCaml since I am doing it for fun.


Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>