F♭ (pronounced F-flat) is a toy language.
args-> [str*]
Returns an array containing of command line arguments passed when the process was launched
printlna ->
Prints the value followed by (newline)
printa ->
Prints the value
exit->
terminate the process synchronously with an a status code
rand-u32-> x
Generates cryptographically strong pseudo-random with a givennumber of bytes to generate
dirnamestr₁ -> str₂
returns the directory name of a path, similar to the Unix dirname command. See https://nodejs.org/api/path.html#path_path_dirname_path
path-join[ str* ] -> str
joins all given path segments together using the platform specific separator as a delimiter See https://nodejs.org/api/path.html#path_path_join_paths
resolvestr₁ -> str₂
returns a URL href releative to the current base
existsstr -> bool
Returns true if the file exists, false otherwise.
readstr₁ -> str₂
Pushes the content of a file as a utf8 string
cwd-> str
Pushes the current working directory
get-envstr₁ -> str₂
Gets a environment variable