-
Notifications
You must be signed in to change notification settings - Fork 43
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
EVAL builtin function #350
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As far as I know in Fluent we can't parametrise arguments. In a sense that this code will be impossible to parse.
This is obviously not a problem for English, but it is a problem for other languages with grammatical cases, for example, Slavic ones. https://en.wikipedia.org/wiki/Grammatical_case
(I translated the bear was killed by another bear to Polish and got
niedźwiedź został również zabity przez innego niedźwiedzia
. You can see the difference betweenniedźwiedź
andniedźwiedzia
)So to solve it, I was thinking about adding EVAL function, which would take its first parameter as a term and pass args to it.
P. S. after creating this, I saw #80 which would probably cover a lot of cases, but I thought about tossing this idea here in case someone would find it valuable.
The text was updated successfully, but these errors were encountered: