Category:PepsiScript
PepsiScript
This programming language may be used to instruct a computer to perform a task.
Listed below are all of the tasks on Rosetta Code which have been solved using PepsiScript.
This programming language may be used to instruct a computer to perform a task.
Type checking: | Static |
---|---|
|
PepsiScript is a programming language and the name of its official editor (which is in the form of a command-line interface) and its "virtual machine" that runs on top of Scratch, both originally released on February 12th, 2016 by Scratch user TheHeroTeam.
PepsiScript features the following commands:
Command | Description |
---|---|
function |
Acts as a function. Function names can be a minimum of two characters long, and all code must be in functions to be entered. However, multiple functions can be created. However, functions do not need to be declared in order to work, and cannot be declared. |
print |
Prints text to the screen. A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, (uppercase only (however, the lowercase versions are also accepted, but will still output in uppercase)) !, ., <space> and ? are supported. |
clearText |
Clears all text on the screen. |
addCat |
Adds a picture of the Scratch Cat to the screen. Only one picture of the Scratch cat can be on the screen at once. |
moveCat |
Moves the picture of the Scratch Cat a small amount to the right. |
showCursorCircle |
Does nothing, not even toggle whether the circle around the cursor is showing or not. |
//<message> |
Acts as a comment. Unlike function and print, the command does not have to be chosen before the value, and does not have to be within a function. |
compile |
"Compiles" the code so it can be run (only the "virtual machine" can run programs). Unlike every other command, this command cannot be used in programs. |
For each example, a version to type and a "compiled" version to run is provided so the code can be entered into the editor in any possible way without having to convert between one or the other.
Pages in category "PepsiScript"
The following 3 pages are in this category, out of 3 total.