]> lifelog.hopto.org Git - PerlCNF.git/commitdiff
Spelling constants not constances.
authorWill Budic <redacted>
Sun, 9 Nov 2025 08:52:00 +0000 (19:52 +1100)
committerWill Budic <redacted>
Sun, 9 Nov 2025 08:52:00 +0000 (19:52 +1100)
Specifications_For_CNF_ReadMe.md
tests/example.cnf
tests/testCNFConstances.pl
tests/test_CursesProgressBar.pl
vscode_local_extensions/perlcnf-extension/extension.js

index a9b18365fc9e8f53b508114b5b9de3f515f58915..614849f97d0dcd61ad3f8e4589c39e53239877c9 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 constances.
+    1. Precedence of resolving the property name/value is by first passed macros, then config anons and finally the looking up constants.
     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 constances.
+    1. Example 1 format with instruction: ```<<<CONST\n{name=value\n..}\n>>>``` autonomous const ins., with inner attributes as constants.
     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 constances, or individually tagged a name and its value.
+       - CONST      - Concentrated list of constants, 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 constances are ignored if are in parent file assigned.
+                      - Included files constants 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 d635a09e73cb41ad416bf749f83e34e0f586ca12..b088553cbf57410e616233e92afe5561b55b7d00 100644 (file)
@@ -159,9 +159,9 @@ Or performs white-space stripings or trimming.
 >>
 
 /**
- Typical app settings converted into CNF constances via meta tag instruction.
+ Typical app settings converted into CNF constants via meta tag instruction.
  If name is uppercase and has a  '$' prefix.
- The Collection property will exlude them from its list and appoint as constances
+ The Collection property will exlude them from its list and appoint as constants
  if they have not been already assigned.
  This is a pure convenince thing to keep settings under one property.
 **/
index 89b9a7639ed9ddbdbd6c85de672c9c2b069cc763..81e15bd63aa44d79b7d19a970fbcab9f1dad724e 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 constances.")
+         $test->failed("Failed access allowed to undefined constants.")
        }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 constances.")
+         $test->failed("Failed access allowed to undefined constants.")
        }
    #
    ###
@@ -51,7 +51,7 @@ try{
     #
 
     ###
-    # Test constances.
+    # Test constants.
     ###
     $test->case("Test mutability.");
     try{
index d6bf38973d94956dfa68c0308f24abb6047d9bf3..29f7febb1c8d7661f75ddafe766eb7dad7961b4b 100644 (file)
@@ -8,7 +8,7 @@ use feature 'signatures';
 # 
  use lib::relative (".","../system/modules");
 ##
-use CNFParser;    
+use CNFParser;
 use TestManager;
 my $test = TestManager -> new($0)-> unsuited();
 my $cnf  = CNFParser->blank()->parse(undef,q{
index 8ea9bc613ea147cf9f71a76b70bc799d14329006..783af3f1d4bd943f2d06ec66083fe4aa15d48854 100644 (file)
@@ -5,7 +5,7 @@ const vscode = require('vscode');
 const cnfKeywords = [
        {
                keyword: "CONSTANCE",
-               description: "Concentrated list of constances, or individually tagged name and its value.",
+               description: "Concentrated list of constants, or individually tagged name and its value.",
                template: "CONST>", // Simple completion
        },
        {