vsirotin / si-units

Kotlin function and objects for working with SI units like meter, second, as well as currencies and general units like percent.

Home Page:https://vsirotin.github.io/si-units/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactoring for JS compatibility

vsirotin opened this issue · comments

Some features don't working an macOS platform. The code should be refactoring to solve this problem.

Hello @michalharakal I tried approach with moving Jvm-relevantl features and tests in separates project directories.
See e.g. ThingJvm.kt
It let not reduce existing Jvm functionality by migration in other platforms.
I guess, it involves more costs by maintaining. But it is trade off.
What are you thing about this idea?

@vsirotin This is an excellent solution. I like it. 👍

Did the generators supports this feature or did you make it manually ...? Or generators are not used for things

I'll update generators to support generation in many targets.

I changed the title of this issue because deeper understanding of problem.
I'll try to find out documentation about current state and road map for this direction.