Intro
Simpl-Py is an easy, fast, and simple recreational programming language that is slowly being turned into something useful. This language shares similar syntax with Python.
Version: 0.5.0 Unstable Release
This version features the fifth update to Simpl-Py! This update adds functions, self-handles errors, deletes a txt file, and you can write a variable to a txt file..
This reference was made to give the user a complete understanding on how to use Simpl-Py. The docs will be updated every minor version, and re-built every major version.
(There may be simple errors due to the unstable release.)
Install
Go to the installation page to install Simpl-Py.
Starting Simpl-Py
When you run Simpl-Py, you will be given simple system stats and some welcome text. It will tell you the version number, the last updated date, and give you a list of commands for more info.
Starting commands:
help : report a problem
copyright : see copyright info
credits : see credit info
‘print’ function:
Typing ‘print’ is the basic print function. You will be asked, ‘Print What?’ Now, you can type anything you want to be printed. After entering, the computer will print out your input.
Other Print Functions:
print.[blank] will tell the computer how to print
print_[blank] will tell the computer what to print
‘print.echo’ function:
This is a different type of printing that will cause your input to be printed as many times as you want. Typing the function will ask you, ‘Echo What?’ You can now type anything you want to print. Next, you will be asked, ‘Echo Amount?’ Type an integer that states how many times you want to print the text. The computer will now echo your text.
‘print.reverse’ function:
Type this to print any input backwards.
‘print.upper’ function:
Type this to print any string in all caps.
‘print.lower’ function:
Type this to print any string in all lowercase.
‘print.correct’ function:
Type this to print any string in correct format.
(Turns 'hellO tHERe.' into 'Hello there.')
‘print_math’ function:
This will print math equations. You will be asked for the amount of integers, the integers, and the operator. The computer will return the answer.
‘print_var’ function:
This will print the value of a variable. You will be asked, ‘What Variable?’ Type the desired variable name and the computer will return the value of that variable.
Slash Commands:
‘/get’ command:
This command can retrieve info. Just type /get and enter one of these names:
system_info : shows your system info
‘/Simpl-Py’ command:
This command will ask you, ‘Simpl-Py Command?’ You can then type any of the following:
last_updated : shows Simpl-Py last update date
version : shows the current Simpl-Py version
available : shows where Simpl-Py is available
docs : gives a website link to the documentation
web_link : gives website links to Simpl-Py and Zer0
change_log : brings you to the change log
beta_version : unlocks beta version (if available)
i_care : type this if you deeply care about Simpl-Py
create_date : type this to get the Simpl-Py creation date
‘/stop’ command:
Type this command to stop Simpl-Py.
Variables:
You can create an unlimited amount of variables (with names and values). See the print section above to learn how to print the values.
'var.new' command:
Type this to make a new variable. Set the name and the value.
‘txt’ commands:
Simpl-Py can create, edit, and manage .txt files. You can access your txt files by going to Extras, MyDocuments.
‘txt.new’ will create a new txt file in the MyDocuments folder. Give the new file a name (.txt is not needed) and you're all set.
'txt.read' will open an existing txt file in the MyDocuments folder. Type the name of the file (.txt is not needed) and it will be returned.
'txt.write' will write to an existing txt file in the MyDocuments folder. Type the name of the file (.txt is not needed), and the contents to write and it will be written.
'txt.write_var' will write a variable to an existing txt file in the MyDocuments folder. Type the name of the file (.txt is not needed) and the variable to write.
'txt.delete' will delete a txt file from the MyDocuments Folder. Type the name of the txt file (.txt is not needed).
Commenting:
To comment, just type a non-command string. The computer will ignore it. This also means that any wrong code will not register.
Errors:
You may get a Simpl-Py error while coding. There will be a title of the error followed by a code like this {S-000x}. To find a description of the error, go to extras/errors.txt and locate the error code.