Fluent is a localization system designed to unleash the expressive power of the natural language.
This is an implementation of Fluent in the D Programming Language.
It is in early development state and definitely not suited for production (or any other) use.
- Compile
Bundle
s to bytecode and interpret it on a VM. This will give the following advantages:- Very much stuff in FTL can be inlined, so that most messages would become constants. It will help to reduce allocations (can share a single instance of an immutable string).
- One can cache the bytecode, avoiding costly parsing, optimizing, and code generation stages during program startup.
- Create D bindings to libIntl.