Skip to content

v0.0.2

Choose a tag to compare

@alerque alerque released this 10 Mar 23:10
· 226 commits to master since this release
6a860ca

Massage the AST returned by the PEG grammar so that about 1/3 of the possible types look like the reference Fluent spec. A basic Lua API is starting to take shape, modeled most closely to the Python implementation. It is possible to load and parse almost any FTL file, and possible to format any messages that are plain strings (no parameters, attributes, functions, or other jazz yet). Note there is no locale handling yet so it's only usable with separate instances per locale. Also add_messages() likely only works once, so cram your whole FTL resource in there for now.