Names.pudu
1/** @Constants.Names.Module — file names, variable names, and words */2module PuduLangEnvironment.Constants.Names34/// The environment file read when none is named, and the root of every cascade name.5export const DEFAULT_FILE: Str = ".env"67/// What ends the name of a layer kept to one machine.8export const LOCAL_SUFFIX: Str = ".local"910/// The variables that name the environment for the cascade, asked in this order.11export const ENVIRONMENT_NAME_VARIABLES: Array[Str] = ["PUDU_ENV", "PROFILE"]1213/// How many parent directories probing climbs unless told otherwise.14export const DEFAULT_PROBE_LEVELS: Int = 41516/// The character a byte-order mark decodes to, dropped from the start of a text.17export const BYTE_ORDER_MARK: Str = "\u{FEFF}"1819/// The word that may precede a key when export syntax is on.20export const EXPORT_KEYWORD: Str = "export"2122/// The spellings of each truth value, compared in lower case.23export const TRUTH_WORDS: Map[Str, Bool] = mapOf([("true", true), ("false", false)])2425/// The characters no environment name may hold, because some platform refuses them in a file name.26export const UNSAFE_NAME_CHARACTERS: Set[Char] = setOf(['/', '\\', ':', '*', '?', '"', '<', '>', '|'])2728/// The sequence that would let an environment name climb out of its directory.29export const PARENT_STEP: Str = ".."3031/// The kind a whole-number read expects, as `Malformed` names it.32export const KIND_INT: Str = "a whole number"3334/// The kind a float read expects, as `Malformed` names it.35export const KIND_FLOAT: Str = "a floating-point number"3637/// The kind a decimal read expects, as `Malformed` names it.38export const KIND_DECIMAL: Str = "a decimal number"3940/// The kind a truth-value read expects, as `Malformed` names it.41export const KIND_BOOL: Str = "true or false"4243/// What a redacted rendering shows in place of a secret field.44export const REDACTED: Str = "[REDACTED]"4546/// The characters of a configuration key that its variable spells as `_`.47export const SETTING_SEPARATORS: Set[Char] = setOf(['.', '-'])48