#cie #spec #pseudocode #interpreter #binary #file #9618

bin+lib pseudocode_cie_9618

A simple pseudocode interpreter for the cie 9618 spec

1 unstable release

0.1.0 Jun 6, 2023

#6 in #cie

GPL-2.0-or-later

130KB
3.5K SLoC

PSEUDOCODE CIE 9618

An implementation of the CIE 9618 pseudocode spec, designed with this reference in mind

Usage

To run an example

cargo run --example factorial

To use as a standalone binary(precompiled binaries are only available for windows atm)

# The file extension does not matter
pseudocode.exe path/to/your/code.pseudo

When compiling from source

To run with the parse tree and abstract syntax tree shown run in dev mode

cargo run -- "example.pseudo"

To silence the output and only show the program output run with release

cargo run --release - "example.pseudo"

Pseudocode syntax/reference

Please reference the wiki

Dependencies

~2.5MB
~38K SLoC