A high-performance application for evaluating and simplifying algebraic expressions involving unlimited-length integers, rationals, and trigonometric functions. This tool is designed for accuracy, speed, and usability, making it ideal for complex mathematical computations.
-
Arbitrary Precision: Handles numbers with 100,000+ digits seamlessly.
-
Efficient Processing: Evaluates 100,000+ terms in under 0.5 seconds.
-
Symbolic Simplifications: Combines terms, removes redundancies, and ensures exact results.
-
Visual Parse Trees: Generates visualizations of raw and simplified expressions for debugging and analysis.
-
Optimized Performance: Leverages parallelized tasks and caching to improve speed by up to 50%.
-
Trigonometric Mode: Supports degree and radian modes for trigonometric calculations.
-
Programming Language: Python
-
Framework: Streamlit
Clone the repository and install the dependencies:
git clone cd pip install -r requirements.txt
Run the app locally:
streamlit run main.py
Visit http://localhost:8501 in your browser.
Check out the live app : https://algebraic-expression-compiler-36xvtrhkpq5gc3yjseeacp.streamlit.app/
-
Tokenization: Converts input into structured tokens.
-
Parsing: Builds a binary tree based on operator precedence.
-
Optimization: Simplifies the tree with constant evaluation and term reduction.
-
Evaluation: Computes results with arbitrary precision.
-
Handles numbers with 100,000+ digits and 10,000+ terms effortlessly.
-
Evaluates 100,000+ terms in under 0.5 seconds.
-
Simplifies large expressions 40% faster than traditional symbolic systems.
Contributions are welcome! Please fork this repository and submit a pull request for any bug fixes or feature enhancements.
This project is licensed under the MIT License.