summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-09-14 10:32:32 -0400
committerpommicket <pommicket@gmail.com>2025-09-14 10:32:32 -0400
commit82eeb6da9e4b25a57b30a6c0c66480121c34be35 (patch)
tree80a3f9baec05ad5b1e0dfe4756ec44d0f27003b1
parentac0166a9b078fc62c08b441e195dd654cb7a8622 (diff)
Clarify API recommendations section
-rw-r--r--site/spec.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/site/spec.html b/site/spec.html
index ed02ad1..6e14064 100644
--- a/site/spec.html
+++ b/site/spec.html
@@ -406,9 +406,13 @@ time = 35&nbsp;min
<h2>API recommendations</h2>
<p>
- The following functions are (lightly) recommended
- in any general-purpose library for parsing POM files
- (their exact names/signatures can be changed to fit the style of the language).
+ The following functions are recommended
+ in any general-purpose library for parsing POM files.
+ Their exact names/signatures can be changed to fit the style of the language.
+ The main important point here is that the functions <code>get_int</code>,
+ <code>get_uint</code>, <code>get_float</code>, <code>get_bool</code> must
+ accept exactly the format described below for integers/floating-point numbers/booleans
+ (otherwise changing between libraries could subtly change which configurations are valid).
</p>
<ul>
<li>