head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.14 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.12 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.10 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.8 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.6 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.4 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.2 pkgsrc-2024Q3-base:1.1; locks; strict; comment @# @; 1.1 date 2024.07.24.11.48.58; author schmonz; state Exp; branches; next ; commitid EQrfcwxoVjmIm5jF; desc @@ 1.1 log @Add pnut: C compiler written in POSIX shell and generating POSIX shell scripts Pnut compiles a reasonably large subset of C99 to human-readable POSIX shell scripts. It can be used to generate portable shell scripts without having to write shell. Its main uses are: - As a transpiler to write portable shell scripts in C - As a way to bootstrap a compiler written in C with an executable version that is still human readable Main features: - No new language to learn -- C code in, shell code out - The human-readable shell script is easy to read and understand. - A runtime library including file I/O and dynamic memory allocations - A preprocessor - Integrates easily with existing shell scripts @ text @Pnut compiles a reasonably large subset of C99 to human-readable POSIX shell scripts. It can be used to generate portable shell scripts without having to write shell. Its main uses are: - As a transpiler to write portable shell scripts in C - As a way to bootstrap a compiler written in C with an executable version that is still human readable Main features: - No new language to learn -- C code in, shell code out - The human-readable shell script is easy to read and understand. - A runtime library including file I/O and dynamic memory allocations - A preprocessor - Integrates easily with existing shell scripts @