5 ms·
You should check out at least a couple of things: - The Dune build system for OCaml, also written in OCaml, does exactly what you are describing: https://dune.
by yawaramin 8y ago
You should check out at least a couple of things:
- The Dune build system for OCaml, also written in OCaml, does exactly what you are describing: https://dune.build/ https://dune.build/
- Jane Street's Incremental library lets you build auto-updating computations which change whenever their inputs change: https://github.com/janestreet/incremental https://github.com/janestreet/incremental
Honourable mention: Thomas Leonard's really interesting series where he describes rewriting his dependency management tool, 0install, from Python to OCaml http://roscidus.com/blog/blog/2014/06/06/python-to-ocaml-retrospective/ http://roscidus.com/blog/blog/2014/06/06/python-to-ocaml-ret...
- vram22 8y agoThanks for those links, will check them out. Took a quick look at Dune. Interesting that the simple examples I saw seem to use a Lisp-like syntax. The Jane Street Incremental library idea sounds cool. I had thought of something very roughly like it, but for memory data, recently, in connection with that tool I'm working on. Had come across Leonard's series of moving 0install from Python to OCaml earlier. Need to revisit it.
- yawaramin 8y agoYeah Dune uses s-expressions as its config format. It was born out of work done by Jane Street, and they like using s-exprs there.