Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Alexander Skobelev Newsgroups: comp.lang.forth Subject: Re: FORTH on the Advanced Placement Computer Science ! Date: Mon, 12 Jan 2015 08:03:33 +0300 Organization: A noiseless patient Spider Lines: 33 Message-ID: References: <7xbnmquimp.fsf@ruckus.brouhaha.com> <3d03e403-7181-4ab3-8a2f-a23d0c4843f7@googlegroups.com> <87y4pt4qkl.fsf@jester.gateway.sonic.net> <2014Dec27.111715@mips.complang.tuwien.ac.at> <878uhs4zxk.fsf@jester.gateway.sonic.net> <871tnd9dg0.fsf@jester.gateway.pace.com> <87387q5hi8.fsf@jester.gateway.sonic.net> <43c6114f-8d41-4005-9131-fe93ec3d3696@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx02.eternal-september.org; posting-host="b120e5c8b4f216b4cd7561d02d477618"; logging-data="24369"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18a5LwS6LunP3lZGjC1FyFv" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin) Cancel-Lock: sha1:D+gBnZ1fD2W3/gnfhUqcc4tFfy8= sha1:wZtCH4+1MfxePCxHOSfhYlZjygM= Xref: csiph.com comp.lang.forth:35736 "WJ" writes: > Alexander Skobelev wrote: > >> > I don't think S" is the right mechanism to handle strings longer than >> > 256 bytes. Very few applications actually require such long strings, >> > particularly in definitions. The few string-intensive applications >> > I've been involved with have developed application-specific data >> > structures for the long strings. >> >> Perhaps it's so. But how somebody has told about multiple inheritance: it >> is rarely needed, but sometimes it is really needed. I think this is the >> same case here. >> >> "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod >> tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim >> veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea >> commodo consequat. Duis aute irure dolor in reprehenderit in voluptate >> velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint >> occaecat cupidatat non proident, sunt in culpa qui officia deserunt >> mollit anim id est laborum." >> >> What is the right way to put this text in a program on Forth? > > Gauche Scheme: > [ … ] Dear WJ, thank you for pointing to Gauche Scheme which, I suppose, is definitely a great script interpreter. I give you promise that one day I'll look at it, even though I prefer Common Lisp to Scheme and the not garbage collected languages to the garbage collected ones. Right now, I would like to discuss Forth, that definitly has its shortcomings, but also it has something that attracts me irresistibly.