-
-
Notifications
You must be signed in to change notification settings - Fork 3
π Tutorial: Intro to Simpl Py Processes
Like all programming languages, Simpl-Py takes user input and displays output in the terminal. What makes Simpl-Py different is its interactive feel between the user and the terminal. The terminal almost walks the user through accessing functions. Take the example below: >> shows user input
>> print.echo
Echo What? >> hello
Echo Space? >> 2
Echo Amount? >> 5
hello hello hello hello hello
The terminal is actually providing the steps for the user to access the print.echo
function. This is what makes Simpl-Py simple.
In Simpl-Py's code, commands given by the user are converted into tokens. These tokens are used later for processing. For example, if the user typed print.echo
, Simpl-Py would convert that command into a list: ['print', '.', 'echo']
. This list can now be processed through functions called handlers. Handlers take the commands and return an output. We will learn more about handling later in the tutorial.
<previous< / -home- / >next>
Quick Links: | Quick Start Guide | Simpl-Py Tutorial | Library Reference | What is Simpl-Py |
---|
- Library Reference
-
Tutorial Home
- Intro
- Installation and Setup
- Intro to Simpl-Py Processes
- Commenting
- Intro to Print Functions
- Variables
- Print Math Function
- Base Functions
- Slash Functions
- Simpl-Py Handling
- Intro to Errors
- Advanced Print Functions
- Intro to TXT Functions
- Intro to Call Numbers
- Errors with Developer Mode
- Advanced TXT Functions
- Advanced Call Numbers
- Intro to Modules
- Beta Mode
- Custom Modules
- Advanced Modules
- Future and Your Help