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

variable reader/writer #83

Open
cooper opened this issue Mar 29, 2020 · 0 comments
Open

variable reader/writer #83

cooper opened this issue Mar 29, 2020 · 0 comments
Labels
feature ideas for brand new features

Comments

@cooper
Copy link
Owner

cooper commented Mar 29, 2020

I would like the parser to keep track of where variables are defined and then a new component which can generate source code after changing the values of variables. The rest of the source would be otherwise unaltered.

It should:

  1. Track start and end pos of variables as they currently exist.
  2. Replace the text in that area with the newly generated values.
  3. Adjust the position of vars after that to consider the newly inserted text (or just work backward to avoid this).
  4. Add any new variables to the bottom–I guess–or to bottom of the top where the variables are normally put.
@cooper cooper added the feature ideas for brand new features label Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ideas for brand new features
Projects
None yet
Development

No branches or pull requests

1 participant