An interpreter for 9608 pseudocode
Project description
An interpreter for 9608 pseudocode
Pseudo is an interpreter for 9608 pseudocode, a pseudocode syntax used in Cambridge International AS & A Level Computer Science.
The latest version is 0.4.1.
Setup
pip install pseudo-9608
Usage
To try pseudo
without installing it, fork the Replit repl at
https://replit.com/@nyjc-computing/pseudocode-repl.
Shell: Running with a pseudocode file
$ pseudo myfile.pseudo
This will run the pseudocode interpreter on the file myfile.pseudo
.
Python: Running with a pseudocode file
import pseudocode
pseudocode.runFile('myfile.pseudo')
This will run the pseudocode interpreter on the file myfile.pseudo
.
Python: Running with a pseudocode string
import pseudocode
code = """
OUTPUT "Hello World!"
"""
pseudocode.run(code)
This will run the pseudocode interpreter on the string code
.
Build Instructions
I don't have a build process for Windows yet; if you are experienced in this area and can offer help, please contact me!
On Unix, Linux:
poetry build
poetry install
This will install Pseudo as pseudo
.
Chapters
This project is also an attempt to write a programming book in a new style. Each chapter of this book is written as a pull request.
Links to each chapter's pull request can be found in CONTENTS.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pseudo_9608-0.5.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1255e93d7fa23ebb51d168233c0a4cb371662901c3b259c92d986c4f70702fa7 |
|
MD5 | 0264c2449852cdbef10674f51dff1a3b |
|
BLAKE2b-256 | 711e7e2bbee05e9bce72358e883e49f036fb86d88c19a0306d6d53ba3de6c334 |