PaddiM8 / kalker

Scientific calculator with math syntax that supports user-defined variables and functions, complex numbers, and estimation of derivatives and integrals
https://kalker.xyz
MIT License
1.59k stars 70 forks source link

Idea: Combine web, cli, mobile codebases into one #34

Closed madnight closed 3 years ago

madnight commented 3 years ago

It might be a good idea to abstract the core functionality of the kalk into one library and then import it in cli, web and mobile wrappers. Otherwise you have to fix all bugs and implement all features 3x times.

The easiest choice would be to implement the core lib in JS, because it can easily run on cli, web and mobile. However, it might be possible to stick to rust and compile to WebAssembly and maybe something like this https://github.com/mozilla/rust-android-gradle for mobile.

madnight commented 3 years ago

Ah nevermind, I just read that you already do so.