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

Feature: Deep Scanning Functions #6

Open
meisZWFLZ opened this issue Oct 18, 2023 · 0 comments
Open

Feature: Deep Scanning Functions #6

meisZWFLZ opened this issue Oct 18, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@meisZWFLZ
Copy link
Owner

Currently, the ASTTranslator only tries to find actions in the auton function, ignoring any actions hidden away in calls to other functions

These function calls should also be searched to allow for modularization of code. For example:

void turnTowardGoal() {
  auton::turnTo(64,64,1500);
}
void autons::shootIntoGoal() {
  turnTowardGoal(); // look into this function and find turnTo()
  auton::shoot();
}

This may be difficult, especially if the "nested" function is defined in another file.

@meisZWFLZ meisZWFLZ added enhancement New feature or request help wanted Extra attention is needed labels Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant