While hacking on a compare-locales impl for l20n, we came across unresolved entities and attributes.

That is hashes without index and/or default values, used for either the value or an attribute.

Is there a usecase for that?

My personal take is that that should be a compiler error.

Most prominently, I think that hash keys are language-internal, and as such shouldn't be exposed to the outer world.

If we had lists, I'd be inclined to let those cross the border back to the program. Mostly because I can see them being used for configuration. Though at that point one could possibly also just return a string with tokens. Not sure.

Basically, I wonder if we have an actual use case for this.

And once you construct one, I might answer with a macro to do that. Adding that 'cause of how I did my last experiment with referencing internal manifolds.

Axel
_______________________________________________
tools-l10n mailing list
[email protected]
https://lists.mozilla.org/listinfo/tools-l10n

Reply via email to