Path Variables
Paths and Options variables

Confidential, unauthorized access forbidden.
CCN Studios internal proprietary software documentation.
𝞪3.0

Synopsis
Path variables are based upon the file paths “/../../..” and “../../..” string formats.
In Free Form Programming Language Path variable is of two kinds:
- “mesh/value”: local to the current program, no starting “/”
- “/student/dara/script1/mesh/uvcoors” : external program thus the path starts with “/”
Specification
- Atomic path variable: “/group/user/script/var”
- Composite Path variable: “/group/user/script/var/value”
- Keys:“/group/user/script/var/value/key”
Key is the identifier or the name of something that consumes computing resources to exist. The latter something is called Value as in value for the key. “mesh” is a Key and “mesh/normals” is the Value, note that “mesh” consumes almost 0 computing but to compute the normals of a surface consumes substantial quantities of computing resources e.g. CPU, memory, network bandwidth and of course recurring consumption of resources e.g. GPU to render the mesh as a graphical object 30 frames a second on demand!
- Both local and external path variables are indeed URL based and stored in network cloud objects
- The file path address format is familiar to every grammar school student and therefore was selected as the customary way to address variables in complex and distributed structures
- The said complex structures might expand beyond the current program and into many other programs to share their local variables
- Indeed a newbie to Free Form Programming Language can immediately access and use Path variables constructed by other programs before
- Note that by default all variable values are automatically Serialized and if exceed certain water marks then compressed. Compression is one of the best forms of Serialization
- The Path variables are by default available to all third party programming languages, and always in standard simplest JSON form
http: and https: paths
⚠️ The Free Form Grammarian leaves the http paths unprocessed. They are copied and passed to operators and functions as constant strings with no further interpretations and no further processing**.
Example
Output:
☁️: icon for the persistent cloud object where the value of the key is stored
⇶ : denotes multi-arrow indicting a composite map
↪ : return arrow back to the variable in the program
Options variable
Alternatively the / can be replaced by ‘s for the existing Path variables:
In Free Form Programming Language ‘s is called option as in var’s value as an option of var. Options ‘s made passing a long list of initialized variables to a function much more compact and easier to remember and manage.
⚠️ Options variables with double quote values require more testing.
Options variables construct path variables from arbitrary option identifiers not in existence! For example, “dara” variable has never had a path variable “hair”:
Output:
The internal Free Form Grammarian has a function called VarMaker[ ] to construct standard listed typed variables or the arbitrary on-demand never seen before variables and types.
🗣️ This example clearly indicates the Free Form Spoken nature of the Free Form Programming Language. As the experiments have indicated the youths learn programming from Free Form language much easier and speedier and with motivation!
💡In order to match the English language grammar, for the plural names ending with s the option variables will have the trailing s’:
Output:
📌If a path variable or option variable is not available, as in completely missing, then the original identifier, in path form, is returned as value. This avoids dealing with obscure error messages and other unpleasantries of missing values. Therefore GetSortedVars[ ] always returns a valid value no matter, and the missing value is checked as follows:
If GetSortedVars[ ] returns the same value then that variable is missing or missing its value.
Example
The Free Form rocks are constructed by the function rock[ ] which returns a string which is the name of the lhs variable:
☁️ : icon for the persistent cloud object where the value of the key is stored
⇶ : denotes multi-arrow indicting a composite map
↪ : return arrow back to the variable in the program
A third party Free Form program by another Free Former can easily access this rock mesh:
Output:
⚠️ The Free Form Grammarian often compresses the cloud variables under certain criteria of size and contents.