Piet compiler and assembler
This package provides a compiler and assembler that target the Piet graphical programming language.
piet-assembler
converts Piet assembler instructions (e.g., push
, add
, switch
, outn
) and directives into an executable netpbm
image of the corresponding Piet program.
piet-compiler
compiles a C-like high-level language into assembly source understood by piet-assembler
. It supports common arithmetic and boolean logic operators (though not bitwise manipulation), flow control (if
, for
, while
), recursive functions, in-line assembler, and input/output intrinsics. The only supported data type is the integer.
The language is documented only by the compiler's Perl source code and the included samples.
Linter | Message | Location |
---|---|---|
wrapper-inputs Make sure 'wrap-program' can finds its interpreter. | "bash-minimal" should be in 'inputs' when 'wrap-program' is used |