2024-11-28 01:10:53 I think most compiler books go through that, because it's common to put arithmetic in postfix form before generating code. 2024-11-28 04:33:03 sure, because postfix is the order you have to emit the instructions in for any machine that executes machines in order 2024-11-28 04:33:11 *executes instructions in order 2024-11-28 04:34:22 the nicest illustration I've seen of this is Darius Bacon's https://github.com/darius/parson/blob/master/eg_calc_compile.py#L34 2024-11-28 04:35:52 but that's not in Forth 2024-11-28 04:38:45 it's pretty similar to xcombellle's example from the other night, but it's for infix rather than postfix (factored to eliminate left recursion) and written in Parson rather than in Python 2024-11-28 04:54:36 Just thought of another one of those things that has disappeared (mostly) from the world. At least in terms of significance. I just asked my 20 year old daughter if she knew what the Yellow Pages were. She had no clue - I had to explain it to her. 2024-11-28 04:55:34 I guess the phone book was really a database, indexed by two keys (entity name in the white pages and entity type in the yellow pages). 2024-11-28 05:00:11 in some cities, they continued to maile yellow pages to everyone because of inertia 2024-11-28 05:10:54 I wonder if they still exist somewhere. 2024-11-28 13:15:18 KipIngram: Damn you're making me feel old now (re yellow pages) 2024-11-28 15:55:59 Heh heh. Well, you don't actually have to be THAT old to "remember them at all." I just remember them over quite a big chunk of my life. 2024-11-28 15:56:22 They are still around, I think; just a pale shadow of the significance they used to have. 2024-11-28 15:58:25 Every now and then I just think of one of these things. The little dot that used to hang out at the middle of your TV screen for a while after you turned it off is another. 2024-11-28 15:58:49 Fretting over "long distance charges" when you phoned relatives. Etc. 2024-11-28 15:59:15 Turning the TV antenna. 2024-11-28 17:37:46 I mean I remember using white pages, not really the yellow pages although I remember looking through it 2024-11-28 17:38:03 Feels like it's actually somehow harder to browse local info like that now 2024-11-28 17:38:24 Assuming white pages are basically a 'phone book' 2024-11-28 17:56:46 https://www.youtube.com/watch?v=2wNTIPaBbPI 2024-11-28 20:03:04 BTW, Happy Thanksgiving, to those of you here in the U.S. 2024-11-28 22:20:38 veltas: Yes, I do think it's a little harder. You could generally count on everything in the Yellow Pages being local. Searching for a business type along with a zip code here in the US usually works ok, but it doesn't seem quite as direct to me. 2024-11-28 22:21:07 And within the Yellow Pages sections the names were still alphabetical, and that sometimes was helpful. 2024-11-28 22:21:18 Search results don't have that - there's no telling how they'll be ordered. 2024-11-28 22:22:01 And with the Yellow Pages you knew that everyone listed in a section had paid money THIS YEAR to be there. 2024-11-28 22:23:01 And usually bigger companies had paid for bigger space, so some information along those lines was there too. Not for sure, but it tended to correlate. 2024-11-28 23:03:49 I remember the yellow pages and the white pages and turning the TV antenna and the dot in the middle of the screen... of course I have a kid in high school at this point 2024-11-28 23:03:56 which means I'm kinda old by now