udem-dlteam / pnut

🥜 A Self-Compiling C Transpiler Targeting Human-Readable POSIX Shell
https://pnut.sh
BSD 2-Clause "Simplified" License
425 stars 14 forks source link

Allow pnut-sh to be compiled by pnut-exe #83

Closed laurenthuberdeau closed 2 months ago

laurenthuberdeau commented 2 months ago

Context

Even if it's a bit backward because we usually want to go from shell to binary, it seems natural to be able to compile pnut-sh using pnut-exe. This PR fixes the few things preventing that and adds a CI check to make sure we don't break it by accident.