You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Chapter "Packages",I'm afraid that demo of reverse polish calculator in exercises is too simple.The demo cann't resolve expression like this: 11+22*33*(2+5) .
Now I have completed a work to parse mathematical expression strings by double stack,just the classic “Reverse Polish Notation”.I hope you can accept this PR.
The comment in code is written by Chinese.Does it need to be English?
The text was updated successfully, but these errors were encountered:
Looked at your PR, but I'm afraid we need a balance between fully-working and a too long example (there are other really long examples in the doc though).
We could potentially flag this with a test function we add to the book and then leave this as an exercise to the reader (potentially putting the solution in the appendix) ?
In Chapter "Packages",I'm afraid that demo of reverse polish calculator in exercises is too simple.The demo cann't resolve expression like this:
11+22*33*(2+5)
.Now I have completed a work to parse mathematical expression strings by double stack,just the classic “Reverse Polish Notation”.I hope you can accept this PR.
The comment in code is written by Chinese.Does it need to be English?
The text was updated successfully, but these errors were encountered: