F-Flat

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


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

Internal Type Words

[src]

type

a -> str

retruns the type of an item

[src]

number

a -> x

converts to a number

[src]

complex

a -> z

converts to a complex number

[src]

string

converts to a string

[src]

itoa

x -> str

returns a string created from UTF-16 character code

[src]

atoi

str -> x

returns an integer between 0 and 65535 representing the UTF-16 code of the first character of a string

[src]

atob

str -> str

decodes a string of data which has been encoded using base-64 encoding

[src]

btoa

str -> str

creates a base-64 encoded ASCII string from a String

[src]

hash

a -> x

creates a numeric hash from a String

[src]

hex-hash

a -> str

creates a hexidecimal hash from a String

[src]

base

x -> str

Convert an integer to a string in the given base

[src]

boolean

a -> bool

converts a value to a boolean

[src]

: (key)

a -> a:

converts a string to a key

[src]

# (symbol)

a -> #a

converts a string to a unique symbol

[src]

array

a -> [A]

converts a value to an array

[src]

of

a b -> c

converts the rhs value to the type of the lhs

[src]

is?

a b -> bool

returns true if to values are the same value

[src]

nothing?

a -> bool

returns true if the value is null or undefined

[src]

date

a -> date

convert a value to a date/time

[src]

now

-> date

returns the current date/time

[src]

clock

-> x

returns a high resoltion time elapsed

[src]

regexp

a -> regexp

convert string to regular expresion

[src]