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

Memory only variables #13

Open
vantreeseba opened this issue Jan 19, 2021 · 1 comment
Open

Memory only variables #13

vantreeseba opened this issue Jan 19, 2021 · 1 comment
Assignees

Comments

@vantreeseba
Copy link
Member

vantreeseba commented Jan 19, 2021

What it would do:

Allow users to access tokens that exist only in memory, setting some placeholder for the token to get it from.
This would throw an error or warning if the token does not exist in memory.

Example:

"This is a #name:_# from memory"

Implementation:

Set some setting or default token name that means it's a placeholder for a token that should not error when used.
Can check if it is a memory token accessing that, and if it matches, throw an error when the "throwaway" token has no associated memory value.

@vantreeseba vantreeseba self-assigned this Jan 19, 2021
@vantreeseba
Copy link
Member Author

Make this look like #some_grammar:some_stored_var# and when in memory only, do #:some_var#

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

1 participant