This unofficial CIE Pseudocode Compiler is a transpiler for Cambridge International A-level Computer Science Pseudocode. It converts pseudocode into JavaScript, which can later be executed as a standalone .js
script.
The browser version can be found here.
The full CIE Pseudocode guide can be found here [PDF] (from 2021).
Note: This project requires node
and npm
.
Installation and usage:
- Clone this repository
- Install dependencies with
npm install
- Write your Pseudocode script in
script.pc
- Run
npm start
to translate and execute your script
The program will translate your script.pc
file into compiled.js
, then execute the new JavaScript code.