tag:blogger.com,1999:blog-7345275.post1847891435442499218..comments2023-10-30T11:13:44.310-04:00Comments on The Ethical Werewolf ‡ by Neil Sinhababu : Reverse Polish sausageUnknownnoreply@blogger.comBlogger4125tag:blogger.com,1999:blog-7345275.post-57873004688321381982009-11-16T11:43:22.438-05:002009-11-16T11:43:22.438-05:00>I don't know how you do
> parentheses ...>I don't know how you do <br />> parentheses in these notations<br /><br />You don't need to. That is the main point of these notations.<br /><br />(3+4)*2 == * + 2 3 4 == 2 4 3 + *<br /><br />In addition to removing the need for parentheses, RPN also allows for calculations to be done in a simple stack. http://en.wikipedia.org/wiki/Reverse_Polish_notation#ExampleAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7345275.post-21598038868889343592009-11-01T16:36:29.752-05:002009-11-01T16:36:29.752-05:00Actually, it's called Polish because it was in...Actually, it's called Polish because it was invented by the Polish logician Jan Łukasiewicz back in 1920. See http://en.wikipedia.org/wiki/Prefix_notationUnknownhttps://www.blogger.com/profile/14582322195005049462noreply@blogger.comtag:blogger.com,1999:blog-7345275.post-64078750126090867552009-10-10T17:41:16.899-04:002009-10-10T17:41:16.899-04:00There's a kind of mathematical notation called...There's a kind of mathematical notation called polish notation where instead of writing 3+2 you write + 3 2. I guess in reverse polish notation you write 3 2 +. I don't know how you do parentheses in these notations, but the order is going to be all weird in a way that parallels the situation with the buns and sausage. <br /><br />I once asked some Polish people whether their language put the connectives before the terms being connected, like in Polish Notation. They said no.Neil Sinhababuhttps://www.blogger.com/profile/03249327186653397250noreply@blogger.comtag:blogger.com,1999:blog-7345275.post-35577453963558155202009-10-10T13:35:48.213-04:002009-10-10T13:35:48.213-04:00well, that makes one of us. Any chance you can exp...well, that makes one of us. Any chance you can explain it?Fraserhttps://www.blogger.com/profile/16193891600614262705noreply@blogger.com