You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although such tricks certainly make it harder to make mistakes when writing code, I would suggest that a PPX is probably a better mechanism here than hacking in cppo. In particular, code refactoring tools and formaters are broken by preprocessors like cppo.
I want to use
cppo
for improving my ISO/IEC 13211-1:1995 (a.k.a "ISO-Prolog") compliant Prolog processor.Specifically, I want to reduce the use of string constants in code blocks like the following one:
So far, I have come up with the following:
Alas,
CAPITALIZE
only touches the first character, so I get the following not-yet-perfect output:I need all characters in uppercase. Having a
ALLUPPERCASE
builtin function incppo
would do it.I wanted to start the discussion on this before filing a PR:) Comments?
The text was updated successfully, but these errors were encountered: