File | Date | Author | Commit |
---|---|---|---|
.github | 2024-12-13 |
![]() |
[a575a4] Update CONTRIBUTING.md |
LICENSE | 2024-11-27 |
![]() |
[919c0b] Update LICENSE |
README.md | 2024-12-14 |
![]() |
[b47e1e] Update README.md |
shell.py | 2024-12-13 |
![]() |
[4f0f3f] Update shell.py |
spindle.py | 2024-12-14 |
![]() |
[7304c6] Ifed if statements in the semi-parser |
Programming language that enables you to practice AP CSP Exam code as real, live code.
⭐ Star us, it motivates us a lot!
# Displays "Hello Spindle!", but only if the user inputs an the super secret passcode
PASSCODE <-- "SHHH"
USER_PASSCODE_ATTEMPT = INPUT()
IF (USER_PASSCODE_ATTEMPT == PASSCODE) {
DISPLAY("Hello Spindle!")
}
Spindle can be used natively on desktop, or for ease of use, anywhere via it's website
Head over to the releases section of the Spindle GitHub repository and download the latest version of the `Spindle.py` and `shell.py` files: You can find them here!
You'll also want to download Python from its official website if you haven't already: Which you can do here!
Create a new folder on your computer where you'll store your Spindle code. Name it whatever you like.
Extract the downloaded files into your project folder. You should have two files in it so far: `Spindle.py` and `shell.py`.
Create a new text file within your project folder and save it with a filename ending in `.spdl` (e.g., `my_first_program.spdl`). This file will contain your Spindle code. Make sure you know the complete file name!
This can be done in two ways:
python shell.py RUN("[FILENAME].spdl")
Here's the thing about open-source software, anyone can contribute - and all meaningful contributions are valuable. You don't have to even touch any code to help us, if you find a bug, reporting it to us will help us fix it quicker. For those who do know a little code, you can help to make Spindle better for all by adding collegeboard features and pruning unnecessary ones. We'll even feature you, it's the least we could do!
The Spindle programming language, website, logo and brand are all licensed under the MIT license -That means it's free for you to use in relation to Spindle. If you have more questions, please read the LICENCE file and ask us!
"AP CSP" is a shorthand for " AP Computer Science Principles", which is trademarked by collegeboard. So when we mention "AP CSP", mentally replace it with "AP® CSP" Collegeboard, who is not affiliated in any mannor with this project would also like us to say the following:
AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse, this project