Deutsch English Français Italiano |
<uvqm4r$25k0u$3@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Brown <david.brown@hesbynett.no> Newsgroups: comp.unix.programmer,comp.lang.misc Subject: Re: On Stack-Based Languages (was Re: on Perl) Date: Thu, 18 Apr 2024 10:37:47 +0200 Organization: A noiseless patient Spider Lines: 27 Message-ID: <uvqm4r$25k0u$3@dont-email.me> References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org> <0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk> <20240408075547.000061e8@gmail.com> <g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk> <uvbe3m$2cun7$1@dont-email.me> <Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk> <pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid> <uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com> <uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me> <slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvlp8g$u62e$1@dont-email.me> <87wmowv9fy.fsf@eder.anydns.info> <20240417080523.00005e99@gmail.com> <uvqjlu$257pa$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 18 Apr 2024 10:37:47 +0200 (CEST) Injection-Info: dont-email.me; posting-host="a0080b8d6f1ecc9cfec5050a64ed5ac7"; logging-data="2281502"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/nmtKZkxQy0dPttQW2VjxnMSYpQ29sdPw=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Cancel-Lock: sha1:of4pEzub9kJediHsDURzwwlrqGc= Content-Language: en-GB In-Reply-To: <uvqjlu$257pa$1@dont-email.me> Bytes: 2956 On 18/04/2024 09:55, Lawrence D'Oliveiro wrote: > On Wed, 17 Apr 2024 08:05:23 -0700, John Ames wrote: > >> *Syntactically* it's very simple, but explicit stack-orientation with >> reverse-Polish notation is a *very* different programming paradigm than >> practically everything else out there ... > > The only really tricky part of stack-based programming is keeping track of > what’s on the stack. > > I did some messing about with a reboot of PostScript which tried to add > some niceties, like stack guards and lexical binding. Here’s an example of > the sort of thing I was able to get working (“ddef” and “dstore” define > and assign to dynamically-bound variables, while “ldef” and “lstore” > correspondingly work on lexically-bound ones): > I think I have only ever heard of one person who actually uses PostScript for programming by hand, rather than as a print output format. That is Don Lancaster, an electronics engineer who is a big fan of "magic sines" (binary strings with low harmonics) and does all his coding in PostScript. Anyone wanting to see a significant library of PostScript code might be interested. <https://www.tinaja.com/magsn01.shtml>