You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-cat = {$number-> *[one] Cat [other] Cats}-dog = {$number-> *[one] Dog [other] Dogs}# We want message to be X attacked Yattack-log-cat1-cat1 = Cat attacked cat.attack-log-cat1-cat2 = Cat attacked cats.attack-log-dog1-cat1 = Dog attacked cat.attack-log-dog1-cat2 = Dog attacked cats.# Etc.
This leads to combinatorial explosion. Instead we want something like
I've decided to move the needle by:
A) Introducing a new fluent type called LinguiniReference
B) Introducing experimental syntax for start $$attacker which must be a Linguini reference. Plus allowing complex nesting like $$attacker(number: $$something.Num) and access to attributes like so $$msg_id.Value
C) Create fast serialization of messages
Note: This is experimental syntax and will be probably changed depending on how it works out.
The text was updated successfully, but these errors were encountered:
Motivated by space-wizards/RobustToolbox#2273
Seeing discussion in:
Problem
Let's say we have following message:
This leads to combinatorial explosion. Instead we want something like
And then we pass following values into bundle
Solution
I've decided to move the needle by:
A) Introducing a new fluent type called
LinguiniReference
B) Introducing experimental syntax for start
$$attacker
which must be a Linguini reference. Plus allowing complex nesting like$$attacker(number: $$something.Num)
and access to attributes like so$$msg_id.Value
C) Create fast serialization of messages
Note: This is experimental syntax and will be probably changed depending on how it works out.
The text was updated successfully, but these errors were encountered: