ParthJadhav / Verve

Verve is a lightweight and blazingly fast launcher for accessing and opening applications, files and documents. ⚡
GNU Affero General Public License v3.0
658 stars 25 forks source link

Calculations support #2

Closed ParthJadhav closed 1 year ago

ParthJadhav commented 1 year ago

This task involves adding a calculator feature to the application that allows users to perform calculations and conversions using normal language. The calculator will be able to understand mathematical expressions and equations written in a natural language format, such as "10 + 20" or "20 times 49". This will allow users to input calculations and conversions in a way that is similar to how they would be written on paper or spoken aloud.

To implement this feature, you will likely need to use a library or tool that is capable of parsing and evaluating mathematical expressions written in natural language. One example of such a library is the Alfred Calculate Anything library (https://github.com/biati-digital/alfred-calculate-anything). Once you have a library or tool in place, you will need to integrate it into Verve and create a user interface for the calculator feature, such as a text input field for the user to enter their calculations and a display area to show the results.

In addition to basic arithmetic operations (e.g. addition, subtraction, multiplication, division), the calculator feature should also be able to handle more complex operations, such as square roots, exponents, and trigonometric functions. It should also be able to handle unit conversions, such as converting between different units of length, mass, or volume.