Initializing WASM Engine...
main.cipr
main.cipr
math.cipr
fs.cipr
Output
AST Explorer
Docs
Ready. Press 'Run Code' to execute.

Core & Variables

echo <value>

Prints a value to the standard output.

time()

Returns the current UNIX timestamp as a float.

rand(max)

Returns a random number between 0 and max - 1.

Virtual File System (In-Memory)

write_file(path, content)

Writes a string to the virtual browser filesystem.

read_file(path)

Reads a string from a virtual file.

ls(dir_path)

Returns an array of files in the virtual directory.

Data & Strings

size(array | string)

Returns the length of a string or array.

split(string, delimiter)

Splits a string into an array of substrings.

trim(string)

Removes leading and trailing whitespace.

extract(source, start, end)

Extracts a substring between two string markers.

Cryptography

base64_encode(string)

Encodes a string into Base64 format.

base64_decode(string)

Decodes a Base64 string back to plaintext.

hex(string)

Converts a string to its hexadecimal representation.

Status: Idle