fluent-kotlin
fluent-kotlin copied to clipboard
Kotlin tooling implementation of ProjectFluent
Since a 0.1 release is already out there, having it available as a package in a Maven repo is needed for the community to start creating tooling for Project Fluent...
…lement in case if consists only of one character.
Please take a look at **ProcessorTest** for an example. It happens when pattern consists of the mix of **TextElement** and **Placeable** elements and TextElement has trailing spaces.
When humans edit Fluent content, they're most often editing straight-forward patterns. They shouldn't be bothered with leading/trailing whitespace, or escaping `{`. Thus we should create a representation of `Patterns` which...
Currently, the `withSpans` option doesn't do anything. The methods we use in js and python land sadly don't work.
When porting the parser, I moved the support of nested expressions from expressions to placeables, and that's wrong. We should fix that.