Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!lavaca.uh.edu!uhnix1!sugar!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.forth Subject: Re: Why is Postscript not Forth? Message-ID: <.VQ1P-9xds13@ficc.uu.net> Date: 13 Feb 90 23:06:07 GMT References: <9002121712.AA24871@jade.berkeley.edu> Reply-To: peter@ficc.uu.net (Peter da Silva) Organization: Xenix Support, FICC Lines: 24 In article <9002121712.AA24871@jade.berkeley.edu> Mitch Bradley writes: > * Memory allocation problem update: my memory allocation proposal passed > at the last ANS Forth meeting! So Forth will have memory allocation one of > these days when ANS Forth becomes a reality. More on this later. This, unfortunately, isn't likely to completely solve the string issue. C has memory allocation, but can't handle strings with PS-like ease. The other thing you need to easily handle strings is garbage collection, so you can do things like: string1 string2 concat or string1 3 5 substr without having to track your arguments henceforth. You need, instead, to do something C-like: string1 buffer strcpy buffer string2 strcat or string1 3 skip buffer 5 strncpy -- _--_|\ Peter da Silva. +1 713 274 5180. . / \ \_.--._/ Xenix Support -- it's not just a job, it's an adventure! v "Have you hugged your wolf today?" `-_-'