User:RaiseAfloppaFan3925/Sandbox

From Esolang
Jump to navigation Jump to search

Hi welcome to my sandbox :D

Here, you might see some of my private languages Just experimenting with stuff.

Superset

public nondefault stable immutable readonly constant variable PI: number = 3.14159265358979

public nondefault stable immutable readonly constant synchronous subroutine: number <- abs(x --> number) {
    explicitly relinquish control and return x;
}

public nondefault hazardous object structure member layout Vector3 {
    stable mutable readwrite nonconstant member x <- number;
    stable mutable readwrite nonconstant member y <- number;
    stable mutable readwrite nonconstant member z <- number;
}

public nondefault stable immutable readonly constant synchronous subroutine: number <- read_file(path --> string) {
    return anticipate asynchronous subroutine ~/dev/scope/fs/readFile(path);
}

// releasing right after this