Skip to content

Commit

Permalink
Fixed spacing in main README
Browse files Browse the repository at this point in the history
  • Loading branch information
DovahBot authored Nov 30, 2022
1 parent 744fe2f commit 1e1d1f1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

> This converts an expression from infix to postfix notation
> <br>**[See a detailed explanation here](/InfixToPostfix/README.md)**
![](/InfixToPostfix/infixToPostfix.png)
```
Input: 1+(3-4)*9/2
Expand All @@ -30,6 +31,7 @@ Output: 134-9*2/+

> This takes a postfix notation expression as input and calculates the result
> <br>**[See a detailed explanation here](/PostfixCalc/README.md)**
![](/PostfixCalc/postfixCalc.png)
```
Input: 134-9*2/+
Expand All @@ -50,7 +52,7 @@ Piet is an esoteric programming language, named after the artist Piet Mondrian,

This calculator begins with a conversion to postfix (aka Reverse Polish Notation (RPN)) as it is significantly easier ***in Piet*** to calculate the value of a postfix expression rather than an infix one.

I initially imagined this calculator to be confined within a single image, instead of one program to convert from infix to postfix and another to calculate. However, after making significant progress on the former I realized without access to anotherr stack to store program output for later, this would be very difficult.
I initially imagined this calculator to be confined within a single image, instead of one program to convert from infix to postfix and another to calculate. However, after making significant progress on the former I realized without access to another stack to store program output for later, this would be very difficult.

I do think it's feasible, but would require significant stack manipulation. Maybe it'll be a future endeavor...

Expand All @@ -74,4 +76,4 @@ Please open issues to discuss bugs or ideas 😁

## License

[MIT](https://choosealicense.com/licenses/mit/)
[MIT](https://choosealicense.com/licenses/mit/)

0 comments on commit 1e1d1f1

Please sign in to comment.