-
-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow longer strings #650
Comments
What we really need is to remove that hardcoded limit. Raising the limit would cause lvalues to become stupidly large; note also that strings get |
With longer strings, test/asm/quine.asm could be reduced further to 373 bytes:
However, |
By the way, according to some |
Right now
MAXSTRLEN
is 255. I think that a larger limit, like 1024 or even 4096, would be helpful.PRINTV
/PRINTI
/PRINTF
emitting trailing newlines (PRINTV, PRINTI, and PRINTF emit a trailing newline #624) mean thatPRINTT
withSTRFMT
(ImplementSTRFMT
and more printf-like format specifiers for string interpolation #646) (or just{formatted:interpolation}
) will be the obvious choice for complex printing. These strings could get pretty long, especially if formatted values use wide padding.MACRO ... ENDM
definition in anEQUS
. These are likely to be multi-line strings, so even if 255 is a reasonable length limit per line, the whole macro could be longer than that.The text was updated successfully, but these errors were encountered: