F-Flat

F♭ (pronounced F-flat) is a toy language.


Project maintained by Hypercubed Hosted on GitHub Pages — Theme by mattgraham

Internal Words for Node Environment

[src]

args

-> [str*]

Returns an array containing of command line arguments passed when the process was launched

[src]

println

a ->

Prints the value followed by (newline)

[src]

print

a ->

Prints the value

[src]

exit

->

terminate the process synchronously with an a status code

[src]

rand-u32

-> x

Generates cryptographically strong pseudo-random with a givennumber of bytes to generate

[src]

dirname

str₁ -> 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

[src]

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

[src]

resolve

str₁ -> str₂

returns a URL href releative to the current base

[src]

exists

str -> bool

Returns true if the file exists, false otherwise.

[src]

read

str₁ -> str₂

Pushes the content of a file as a utf8 string

[src]

cwd

-> str

Pushes the current working directory

[src]

get-env

str₁ -> str₂

Gets a environment variable

[src]