Stanisław Małolepszy

Results 230 comments of Stanisław Małolepszy

Isn't this inconsistent with the `.` macro? A quoted atom should evaluate to itself: in `(. console log)`, `log` evaluates to `log` in JS. When defining the object, I'd expect...

Ah, of course, my bad! In my example, `log` doesn't end up as a reference to a variable.

Yes, I see, it makes sense now :)

That was going to be my next task after https://github.com/projectfluent/fluent.js/pull/469 :) I think I'd like to completely remove the docs on which options are supported for now. As it stands,...

That's an interesting use-case, thanks for bringing it to my attention, @rugk! Fluent doesn't have a built-in way to add or subtract numbers. It was a deliberate design decision; we...

> I do however, understand, that it may be too much for such a language as this. This has been our guiding principle in designing Fluent. Fluent is first and...

The mitigation in `fluent.js` involves checking the length of the resolved placeable against a constant. We should 1) make the maximum length configurable in the constructor, and 2) consider how...

Thanks for filing this, @rugk. You're right—the guide doesn't mention negative numbers at all. I'll fix this. To type negative numbers in Fluent, prefix them with a `-` (minus). (Just...

I wrote a lengthier comment in https://github.com/projectfluent/fluent/issues/227#issuecomment-456083729 which also touches on these two additional questions. In it, I suggested using custom functions for both named ranges as well as any...

Regarding the negative and positive ranges, you can use a custom function to select the desired range. ```properties floor_ENGLI_in_EN = { LOCATION($level) -> [under] on basement floor B{ FLOOR($level, ground:...