Skip to content

Sup2point0/hASTkell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Building abstract syntax trees for parsing and computing mathematical expressions

Topics

Resources

License

Stars

Watchers

Forks

Contributors