-
Notifications
You must be signed in to change notification settings - Fork 6
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
Do not require space by the incrementation operator #2
Comments
I see. I have thought only the reader splits and makes tokens. |
That is correct, the reader will see |
Sorry, I am very late for responding. I implemented a new pass for splitting token including Additionally, I plan to add some features in future:
Thank for your suggestion! |
I've added two comments at 7d87cea. |
Your reader macro, after collecting all the tokens, can iterate over all of them and check if any of them are of form
FOO++
(same thing for++FOO
and--
). If so, it can split that token intoFOO
and++
.This should be enough to type the
++
operator in a more natural style - without any spaces between the variable name and the operator.The text was updated successfully, but these errors were encountered: