From 82eeb6da9e4b25a57b30a6c0c66480121c34be35 Mon Sep 17 00:00:00 2001 From: pommicket Date: Sun, 14 Sep 2025 10:32:32 -0400 Subject: Clarify API recommendations section --- site/spec.html | 10 +++++++--- 1 file 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 min

API recommendations

- 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 get_int, + get_uint, get_float, get_bool must + accept exactly the format described below for integers/floating-point numbers/booleans + (otherwise changing between libraries could subtly change which configurations are valid).