<div dir="ltr">Thank you very much for the detail!<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 20 Nov 2023 at 21:36, Boris Kolpackov <<a href="mailto:boris@codesynthesis.com">boris@codesynthesis.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Phuwasate Lutchanont via users <<a href="mailto:users@build2.org" target="_blank">users@build2.org</a>> writes:<br>
<br>
> I would like to ask if there is any good resource or documentation for<br>
> learning the internal commands supported by the buildfile language? In<br>
> particular, I could not understand the code inside double curly braces<br>
> whenever I encountered them in the introduction and manual. I cannot seem<br>
> to find any thorough explanation on what is going on in the code anywhere<br>
> either.<br>
<br>
There is no proper documentation for this yet, but it's high up on my<br>
TODO list.<br>
<br>
The things in double curly braces are ad hoc recipes/rules. Currently,<br>
they can be written in Buildscript or C++, most commonly the former:<br>
<br>
<a href="https://build2.org/release/0.13.0.xhtml#adhoc-recipe" rel="noreferrer" target="_blank">https://build2.org/release/0.13.0.xhtml#adhoc-recipe</a><br>
<a href="https://build2.org/release/0.14.0.xhtml#adhoc-rules" rel="noreferrer" target="_blank">https://build2.org/release/0.14.0.xhtml#adhoc-rules</a><br>
<a href="https://build2.org/release/0.15.0.xhtml#dyndep" rel="noreferrer" target="_blank">https://build2.org/release/0.15.0.xhtml#dyndep</a><br>
<a href="https://build2.org/release/0.16.0.xhtml#dyn-target" rel="noreferrer" target="_blank">https://build2.org/release/0.16.0.xhtml#dyn-target</a><br>
<br>
Buildscript is a portable shell-like language that originated in<br>
Testscript. In a sense, these two languages shared a common "script"<br>
core. Testscript is well documented, and most of the core language<br>
documentation applies to Buildscript:<br>
<br>
<a href="https://build2.org/build2/doc/build2-testscript-manual.xhtml" rel="noreferrer" target="_blank">https://build2.org/build2/doc/build2-testscript-manual.xhtml</a><br>
</blockquote></div>