User:Yoyolin0409/STL

From Esolang
Jump to navigation Jump to search

This contains some STL related to Septem Lingua, but they are still not in use.

media

media.play(x)

If x is a sound file, play this sound.

media.run(x)

If x is an video file, play this video.

media.watch(x)

If x is a photo file or GIF, create a new page and play the photo on that page.

media.type(x)

Analyze x as a type of media, supporting photo, video, and sound.

data

data.create(x,<name>)

If x is a string, treat it as a path, and then create a file at that location based on the name.

data.folder(x,<name>)

If x is a string, treat it as a path, and then create a folder at that location based on the name.

data.delete(x,<name>)

If x is a string, treat it as a path, and then delete a file at that location based on the name.

data.delete_folder(x,<name>)

If x is a string, treat it as a path, and then delete a folder at that location based on the name.

data.zip(x,<name>)

If x is a string, use it as a path, then compress it into a zip archive within that path. If name is a folder or a normal file, compress it into a zip archive. If name is a zip archive, decompress it.

data.clone(x,<name>)

If x is a string, treat it as a path, and then copy a file named name to that path.

data.move(x,y,<name>)

If x and y are a string, then x is treated as a path. Then, a file named name is moved to y from this path.

page