-
Notifications
You must be signed in to change notification settings - Fork 19
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
Recommendation: Mad Pascal Recursion #52
Comments
But in general I find recursion useless on 8-bit systems ;) |
Don't take away the ability to create recursion. Allow it, however, let it be known that it has its limitations. Finally, MAD Pascal, allows you to call other procedures/functions from procedures/functions, repeatedly going deep into the "call tree". The call stack is small (I don't know what kind - maybe you can write about it?), but it allows to do that in the simplest form (without optimization). In general, if recursion is used, it's mostly with a small number of parameters - which is also important for the number of iterations. I think that recursion is one of the most important features of a language - if you deprive Pascal's MAD of it, it can lose its usefulness. Translated with www.DeepL.com/Translator (free version) |
Most important for me is more space on ZP than ability to use recursion on relatively big (on 8-bit) stack on ZP. I proposed tail recursion witch is fine on small systems. |
doesn't matter anymore |
Recursion can go beyond Mad Pascal's software stack. I strongly recommend provide info about this possibility due to small software stack or maybe you can try to implement tail recursion optimization.
The text was updated successfully, but these errors were encountered: