@grayswandyr
The warnings situation is acknowledged. The problem of having no upwards exploration is that it makes it impossible to run dune from sub directories. It’s quite a nice feature to be able to cd to a directory and run dune build @check inside it.
I have no idea what utop is slow, but could you see if you can reproduce the issue with the normal toplevel?
The issue with formatting is a decision ocamlformat made. It’s not related to dune.
@mobileink dune’s syntax is scheme inspired but leans towards human readability rather than compatibility with scheme. Would it help if we had a small library to help parse dune stanzas?
@hhugo that sounds like a good feature. How would dune compute the partitions? Or would there be a way for the user to provide them?
@mimoo Opam integration is on the timeline. It should be possible to move the .opam files to an opam/ sub directory. Nobody has done that work yet.
dune {test,build} <PATH> already work. I’m a bit hesitant to add something similar to check as it’s nothing more than alias for dune build @dir/check.
Do you have some examples of information that dune can infer from the directory structure?
dune and dune-project files are parsed differently. In particular, the first line of the dune-project file is special and sets the version of the dune language for the entire project. If we ever choose to move away from sexp, we would need to read the first line of the dune-project file (in whatever syntax) to detect how to parse the rules in the project
implicit_transitive_deps leads to some very poor messages in some situations. Once there’s first class support for it in the compiler, we’ll surely make it the default.
It’s already possible to write a dune file in ocaml syntax. Other Topics — Dune documentation It’s not a feature we recommend though
Your IDE should be smart enough to detect file types without extensions. Does it not work for makefiles for example?
There’s dune init although it receives very little love.
A command to run specific tests was mentioned earlier in this thread. We’ll add one.
We need concrete suggestions to improve the manual. “It sucks” doesn’t really help us improve it.
@JohnJ better menhir integration would be good of course. Could you make an issue and we’ll take a look? We would appreciate some help with features like this. I’m not familiar with advanced features of menhir so I need that someone could explain and/or help out with the development here.