From: Chad Perrin Date: 2009-03-01T04:29:16+09:00 Subject: Re: Nexus Programming Language --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 01, 2009 at 12:14:01AM +0900, Pascal J. Bourguignon wrote: >=20 > Would the "inverse" of reverse polish notation be polish notation? >=20 > [3,3,:+].inverse -> undefined method `inverse' for [3, 3, :+]:Array >=20 > Seems that's nonsense... On the other hand: >=20 > [3,3,:+].reverse -> [:+, 3, 3] Actually, it's not so much that Polish notation is the reverse of Reverse Polish Notation, but that RPN is the reverse of Polish notation. Ahem. If I recall my efforts correctly, though, the *implementation* of Polish notation felt more like the "inverse" of RPN than either being the "reverse" of the other. In fact, implementing prefix notation felt a bit like turning RPN inside out. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Sterling Camden: "The Church doesn't want people calling for inquisitions." --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkmpkD8ACgkQ9mn/Pj01uKU2AwCfWhVZ1Yl9XVA2Ell2JSTWsKEo gsgAmwTpdKk0QteH4iPDV3B1SqU21eh+ =eICQ -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY--