]> lifelog.hopto.org Git - PerlCNF.git/commitdiff
Revert "Spelling constants not constances."
authorWill Budic <redacted>
Sun, 9 Nov 2025 09:13:09 +0000 (20:13 +1100)
committerWill Budic <redacted>
Sun, 9 Nov 2025 09:13:09 +0000 (20:13 +1100)
This reverts commit 2113893010a6ebaae4dfa6fadfda6f674336b69b.

Specifications_For_CNF_ReadMe.md
tests/example.cnf
tests/testCNFConstances.pl
vscode_local_extensions/perlcnf-extension/extension.js

index 614849f97d0dcd61ad3f8e4589c39e53239877c9..a9b18365fc9e8f53b508114b5b9de3f515f58915 100644 (file)
@@ -27,11 +27,11 @@ Quick Jump: [CNF Tag Formats](#cnf-tag-formats)  |  [CNF Collections Formatting]
 4. Multi line values are tag ended on a separate line with an **>>>**.
 5. CNF tag value can post processed by placing macros making it a template.
 6. Standard markup of a macro is to enclose the property name or number with a triple dollar signifier **\$\$\$**{macro}**\$\$\$**.
-    1. Precedence of resolving the property name/value is by first passed macros, then config anons and finally the looking up constants.
+    1. Precedence of resolving the property name/value is by first passed macros, then config anons and finally the looking up constances.
     2. Nested macros resolving from linked in other properties is currently not supported.
 7. CNF full tag syntax format: **```<<{$|@|%}NAME{<INSTRUCTION>}{<any type of value>}>>```**, the name and instruction parts, sure open but don't have to be closed with **>** on a multiple line value.
 8. CNF instructions and constants are uppercase.
-    1. Example 1 format with instruction: ```<<<CONST\n{name=value\n..}\n>>>``` autonomous const ins., with inner attributes as constants.
+    1. Example 1 format with instruction: ```<<<CONST\n{name=value\n..}\n>>>``` autonomous const ins., with inner attributes as constances.
     2. Example 2 format with instruction: ```<<{$sig}{NAME}<CONST {multi line value}>>>``` A single const property with a multi line value.
     3. Example 3 format with instruction: ```<<CONST<{$sig}{NAME}\n {multi line value}>>>``` A single const property with a multi line value.
     4. Example 4 format with instruction: ```<<{NAME}<{INSTRUCTION}<{value}>>>``` A anon.
@@ -277,7 +277,7 @@ Quick Jump: [Introduction](#introduction)  | [CNF Tag Formats](#cnf-tag-formats)
    1. Reserved words relate to instructions, that are specially treated, and interpreted by the parser to perform extra or specifically processing on the current value.
    2. Reserved instructions can't be used for future custom ones, and also not recommended tag or property names.
    3. Current Reserved words list is.
-       - CONST      - Concentrated list of constants, or individually tagged a name and its value.
+       - CONST      - Concentrated list of constances, or individually tagged a name and its value.
        - VARIABLE   - Concentrated list of anons, or individually tagged name and its value.
        - DATA       - CNF scripted delimited data property, having uniform table data rows.
        - FILE       - CNF scripted delimited data property is in a separate file.
@@ -285,7 +285,7 @@ Quick Jump: [Introduction](#introduction)  | [CNF Tag Formats](#cnf-tag-formats)
        - TABLE      - SQL related.
        - TREE       - Property is a CNFNode tree containing multiple depth nested children nodes.
        - INCLUDE    - Include properties from another file to this repository.
-                      - Included files constants are ignored if are in parent file assigned.
+                      - Included files constances are ignored if are in parent file assigned.
                       - Includes are processed last and not on the spot, so their anons encountered take over precedence.
                       - Include instruction use is not recommended and is as same to as calling the parse method of the parser.
        - INDEX      - SQL related.
index b088553cbf57410e616233e92afe5561b55b7d00..d635a09e73cb41ad416bf749f83e34e0f586ca12 100644 (file)
@@ -159,9 +159,9 @@ Or performs white-space stripings or trimming.
 >>
 
 /**
- Typical app settings converted into CNF constants via meta tag instruction.
+ Typical app settings converted into CNF constances via meta tag instruction.
  If name is uppercase and has a  '$' prefix.
- The Collection property will exlude them from its list and appoint as constants
+ The Collection property will exlude them from its list and appoint as constances
  if they have not been already assigned.
  This is a pure convenince thing to keep settings under one property.
 **/
index 81e15bd63aa44d79b7d19a970fbcab9f1dad724e..89b9a7639ed9ddbdbd6c85de672c9c2b069cc763 100644 (file)
@@ -24,7 +24,7 @@ try{
        $test->subcase('Test undeclared constance access!');
        try{
          my $immutable = $cnf->{IMMUTABLE};
-         $test->failed("Failed access allowed to undefined constants.")
+         $test->failed("Failed access allowed to undefined constances.")
        }catch{
          $test->passed("It errored, trying to access undeclared constance.");
        }
@@ -35,7 +35,7 @@ try{
          $test->passed("Passed to access constance with variable resolve.");
          $test->isDefined('$FRENCH_PARAGRAPH',$immutable);
        }catch{
-         $test->failed("Failed access allowed to undefined constants.")
+         $test->failed("Failed access allowed to undefined constances.")
        }
    #
    ###
@@ -51,7 +51,7 @@ try{
     #
 
     ###
-    # Test constants.
+    # Test constances.
     ###
     $test->case("Test mutability.");
     try{
index 783af3f1d4bd943f2d06ec66083fe4aa15d48854..8ea9bc613ea147cf9f71a76b70bc799d14329006 100644 (file)
@@ -5,7 +5,7 @@ const vscode = require('vscode');
 const cnfKeywords = [
        {
                keyword: "CONSTANCE",
-               description: "Concentrated list of constants, or individually tagged name and its value.",
+               description: "Concentrated list of constances, or individually tagged name and its value.",
                template: "CONST>", // Simple completion
        },
        {