Skip to content

Convert math expression to AST - #987

Closed
Camelpilot33 wants to merge 2 commits into
thinkswell:masterfrom
Camelpilot33:master
Closed

Camelpilot33 wants to merge 2 commits into
thinkswell:masterfrom
Camelpilot33:master

Conversation

@Camelpilot33

Copy link
Copy Markdown

Developer Checklist

  • Followed guidelines mentioned in the readme file.
  • Followed directory structure. (e.g. ProjectName/{USERNAME}/...yourfiles)
  • Starred ⭐ the Repo (Optional)

Summary

This project parses a string of characters (eg. "2+3+y") into a tree:

          V    
          |    
    ┌ ———(+) ┐ 
    |        | 
 ┌ (+) ┐    (y)
 |     |       
(2)   (3)

and also provides methods for evaluation and simplification.

Screenshot

image

Live Project Link

https://camelpilot33.github.io/Camul-Home-Page/projects/math/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant