Skip to content

0.3.6

Choose a tag to compare

@franknoh franknoh released this 21 Sep 03:46
· 355 commits to main since this release
2b1c675

Changes

  • Simplify integer ppy.input and ppy.scan in unsafe standalone C/C++ output to plain scanf(...); calls, without conversion-failure branches.
  • Assume successful reads with values in the selected 32-bit or 64-bit range. Malformed input, premature EOF, and out-of-range values are outside this mode's input contract. Safe emission and builds retain input validation.
  • Preserve integer types and formats, C++ namespaces, and explicit print(..., flush=True). Omitted or false flush emits no fflush.
  • Add regression coverage for C/C++, both integer widths and input APIs, safe validation, and flushing; update the CLI documentation.
ppy emit c --standalone --unsafe --int-width 32 --format app.ppy -o app.c
ppy emit cpp --standalone --unsafe --int-width 32 --format app.ppy -o app.cpp

Install or upgrade with pip install --upgrade ppy-lang==0.3.6.