Skip to content

An interactive website to visualize how Infix, Prefix (Polish), and Postfix (Reverse Polish) notation are converted and evaluated.

Notifications You must be signed in to change notification settings

AjayLiu/notation-visualizer

Repository files navigation

Netlify Status

Logo

Notation Visualizer

Visualize how infix/prefix/postfix notation is evaluated with trees and stacks in an interactive website!
Website »

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing
  4. License
  5. Contact
  6. Acknowledgements

About The Project

I learned about infix/prefix/postfix notation during my senior year of high school and I find it fascinating that you can evaluate them using both trees and stacks! It's a great way to learn about inorder/preorder/postorder traversal and basic computer science! This website contains two interactive visualizers: a Tree Visualizer and a Stack Visualizer.

I filmed an explainer video using this website:

YouTube video of Prefix, Infix, Postfix explainer

Built With

Getting Started

Here is a guide if you want to clone this template and modify it for yourself, all the way to deployment.

Prerequisites

Installation

  1. Clone the repo
    git clone https://github.com/AjayLiu/notation-visualizer.git
  2. Install packages
    yarn

Development

To run the development server

yarn dev

Then head over to localhost:3000

Deployment

  1. Publish the site on Netlify using continuous git integration. 🎉

Contributing

Issues

Feel free to submit issues and enhancement requests. Also, submit an issue before submitting pull requests. Look through existing issues and see if you want to help out!

Workflow

Please refer to each project's style and contribution guidelines for submitting patches and additions. In general, we follow the "fork-and-pull" Git workflow.

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Ajay Liu - contact@ajayliu.com

Project Link: https://github.com/AjayLiu/notation-visualizer

Acknowledgements

Releases

No releases published

Packages

No packages published