Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 579 Bytes

File metadata and controls

12 lines (8 loc) · 579 Bytes

hASTkell

Adventures in parsing strings and constructing syntax trees for performing mathematical shenanigans. Just an exercise in learning Haskell ;)

Features

  • Parse and compute expressions with 5 operators (+ - * / ^) following PEMDAS without parenthesis
  • Parse and compute expressions with 5 operators (+ - * / ^) with support for parentheses
  • Reduce quadratic expressions to standard $ax^2 + bx + c$ form
  • Find roots of quadratic expressions
  • Solve simultaneous equations of an arbitrary number of variables using matrices