Repository navigation
0.3.6
Changes
- Simplify integer
ppy.inputandppy.scanin unsafe standalone C/C++ output to plainscanf(...);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 falseflushemits nofflush. - 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.cppInstall or upgrade with pip install --upgrade ppy-lang==0.3.6.