Skip to content
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

A .repeat directive #192

Open
clbr opened this issue Sep 27, 2020 · 1 comment
Open

A .repeat directive #192

clbr opened this issue Sep 27, 2020 · 1 comment

Comments

@clbr
Copy link

clbr commented Sep 27, 2020

I'm missing the .repeat directive, as found in ca65 for example.
https://www.cc65.org/doc/ca65-11.html#ss11.83

It allows to repeat a block, optionally replacing the block index in each iteration. This saves typing and simplifies code.

@Kingcom
Copy link
Owner

Kingcom commented Oct 4, 2020

This could be a worthwhile addition, but is likely not trivial to implement. I imagine it'd be similar to macros. Probably not something I'd get around to anytime soon, but I'd be ready to discuss the to topic with anyone interested in implementing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants