On Mon, Nov 23, 2026 at 11:05 PM Michael Paquier <[email protected]>
wrote:

> Really?  I don't buy that.  This kind of grammar is allows in
> makefiles for years.


Hi Michael,
Could you expand what you mean.

Makefiles work with a dependency graph by defining rules as
target ":" dependency+ newline action

That is how you can run `make -j` and still get the right output.


>   Just supporting this addition would make, I
> suppose, the patch much simpler.
>

Can you give an example of how you would write the schedule

My proposal:
+ test sequentially: rangetypes (multirangetypes strings) type_sanity

Makefile grammar (assuming target name to be the test and dropping the
action)
+ all: type_sanity
+ type_sanity multirangetypes strings
+ multirangetypes: rangetypes
+ strings: rangetypes

This enables one to model any dependency graph. But it is more complex.
On the schedule file, names are duplicated.
On the parser name lookup is required.

Could you please share some examples in a language you have in mind?

Regards,
Alexandre

Reply via email to