Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 989 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 989 Bytes

cie-pseudocode-compiler

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.

cut

How to use it

The full CIE Pseudocode guide can be found here [PDF] (from 2021).

Note: This project requires node and npm.

Installation and usage:

  1. Clone this repository
  2. Install dependencies with npm install
  3. Write your Pseudocode script in script.pc
  4. 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.