-
Notifications
You must be signed in to change notification settings - Fork 56
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
Can argument be as another aliase? #44
Comments
Hello! There is currently no way to do that, though it's a feature I found myself needing as well. I worked on implementing such a thing (there might still be a branch on this repo with what I tested out), but it was not clear what the best syntax for that would be: I think we'll agree For the moment, you will need to write your template files in a different way, to avoid the need of an alias argument.
instead of
instead of
I know that none of those workarounds is fully satisfying, which is why I'm still willing to implement such a feature. I hope this helps! |
Hi @SimGus , thank you a lot for your quick reply!
So for different intents it can be used as:
|
Hi! I see the kind of use case you have, it's quite similar to what I tried to do a few months back. I still need to think a little bit more to find a good syntax for this, but once it's done I'll start implementing it. Thanks for your feedback :) |
Question about usage of argument:
https://github.com/SimGus/Chatette/wiki/Generation-modifiers#argument
Example was provided in link:
I would like to use instead of $NAME another alias:
Following usage
~[greetings$~[NAME]]
cause SyntaxError: Invalid token
Is there a way to use alias as argument?
The text was updated successfully, but these errors were encountered: