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.
Setup
pip install pseudo-9608
Usage
import pseudocode
pseudocode.run('myfile.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.
- 01a Scanning
- 01b Tokens
- 02 Expressions
- 03 Evaluation
- 04 Statements
- 05 Interpreting
- 06a Variables
- 06b Assignment
- 06c Retrieving variables
- 07 Resolving
- 08 Static typing
- 09 Conditionals
- 10 Loops
- 11 Input
- 12a Procedures
- 12b Procedure calls
- 12c Passing by reference
- 13a Functions
- 13b Loose ends
- 14a Reading from source
- 14b Line numbers
- 14c Referencing source code
- 14d Column info
- 15 File IO
- 16a OOP: Expressions
- 16b OOP: Statements
- 16c OOP: Expression Statements
- 16d OOP: Variables
- 16e OOP: Values
- 16f OOP: Frames
- 16g OOP: Error reporting
- 16h OOP: Tokens
- 17 Statement hierarchies
- 18a Boolean
- 18b Logical operators
- 18c Fix: logical operators (This is an addendum to 18b)
- 19 REALs
- 20 Packaging
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
pseudo-9608-0.2.0.tar.gz
(13.7 kB
view hashes)
Built Distribution
Close
Hashes for pseudo_9608-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f66eba2b500dac8ab8825c08fc88aa95ae17bcf094d10888b4c265215e3f93a9 |
|
MD5 | 4896d9db4d6335d7d50c5ca7d93771f3 |
|
BLAKE2b-256 | d0ae02f57e5b06e6643cff187338bdc13ae12743b5b1d812917879394321c868 |