SanFran

From Esolang
Jump to navigation Jump to search

Intro

SanFran is an esoteric programming language created by S. R. Farmer in 2006. SanFran is made for making programs that act randomly. SanFran can used to simulate a number of things.

Functions

The functions in SanFran are listed on this table.

date% - tells the date
time% - tells the time
pause% - pauses the program
print% - prints a command
open% - opens a file
delete% - deletes a file
color% - colors the text according to a command
kaboom% - a library of strange commands
completewhack% - a library of random commands

Commands

The commands for the date% funtions are:

reg - states regular date

The commands for the time% funtions are:

reg - states regular time
unix - states unix time

The commands for the pause% funtions are:

wtext - a notifaction stating that the program has stopped appears
wotext - the program pauses without any text

The commands for the print% funtions are:

ran - prints a random remark
pi - prints pi
1 - prints 1
2 - prints 2
3 - prints 3
4 - prints 4
5 - prints 5
6 - prints 6
7 - prints 7
8 - prints 8
9 - prints 9
0 - prints 0
a - prints a
.
.
.
Z - prints Z
endline - ends the line