2 releases

new 0.1.5 May 21, 2024
0.1.0 May 21, 2024

#4 in #cas

MIT license

29KB
916 lines

Custom Computer Algebra System (CAS) Parser in Rust

Overview

This project is a custom Computer Algebra System (CAS) written in Rust. It includes a tokenizer, a parser, and a set of mathematical functions to evaluate expressions. The goal is to create a robust system that can handle a variety of mathematical operations, including basic arithmetic, trigonometry, and more advanced functions.

Features

  • Tokenization of mathematical expressions
  • Parsing of expressions with correct order of operations
  • Evaluation of basic arithmetic operations
  • Support for trigonometric functions
  • Extensible design for adding more functions

Getting Started

Prerequisites

  • Rust (latest stable version)
  • Cargo (comes with Rust)

Installation

  1. Clone the repository:
    git clone https://github.com/Pumpk1nH34d/rascal
    cd your-repo-name
    

Dependencies

~410KB