Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #36101
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail |
|---|---|
| From | "Rod Pemberton" <buzz@notnotnontnooatno.cmm> |
| Newsgroups | comp.lang.forth |
| Subject | Re: Counted string |
| Date | Wed, 28 Jan 2015 20:13:31 -0500 |
| Organization | Aioe.org NNTP Server |
| Lines | 20 |
| Message-ID | <op.xs69otcbv6dtjm@localhost> (permalink) |
| References | <174b22de-2454-4e17-ac18-6a1333ec408f@googlegroups.com> <ec0e2ec8-fc53-41a1-9a16-0d5d151c527e@googlegroups.com> <op.xs3o14liv6dtjm@localhost> <6a3a8959-4e74-42f8-a050-069e924fdfe2@googlegroups.com> <54c77f9e$0$6894$e4fe514c@dreader36.news.xs4all.nl> |
| NNTP-Posting-Host | n4wpt9zq8xR26Ttf9mo2BA.user.speranza.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1; format=flowed; delsp=yes |
| Content-Transfer-Encoding | 7bit |
| X-Complaints-To | abuse@aioe.org |
| User-Agent | Opera Mail/12.16 (Linux) |
| X-Notice | Filtered by postfilter v. 0.8.2 |
| Xref | csiph.com comp.lang.forth:36101 |
Show key headers only | View raw
On Tue, 27 Jan 2015 07:07:58 -0500, Albert van der Horst <albert@spenarnc.xs4all.nl> wrote: > Or Rod could study yourforth. It is simple and unencumbered with > C-strings. The only places where c-strings are used is for passing > to linux. Strings that are passed to linux use the word ZEN ( "zrrren") > an abbreviation of ZERO-END As mentioned elsewhere, I already use C style strings in my Forth, everywhere. It's built right into the inner interpreter. Why would I want to limit their use to only FFIs or host-specific interfaces? Most of Hayes core and core ext is implemented. Also, it only takes one byte and a change to one or two Forth words to convert to counted strings. BTW, it's coded in ANSI C, using GCC for DOS, i.e., DJGPP, but should compile cleanly for Linux, except for maybe one C function. Currently, most higher level Forth words are coded in Forth, i.e., only primitives, stacks, and system variables are in C. Rod Pemberton
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Counted string Marek Brunda <marekb@phoenics.org> - 2015-01-18 23:54 -0800
Re: Counted string "Elizabeth D. Rather" <erather@forth.com> - 2015-01-18 22:08 -1000
Re: Counted string anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-01-19 09:36 +0000
Re: Counted string "HAA" <someone@microsoft.com> - 2015-01-20 00:21 +1100
Re: Counted string Coos Haak <chforth@hccnet.nl> - 2015-01-19 14:44 +0100
Re: Counted string Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-01-20 00:45 -0800
Re: Counted string anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-01-20 13:12 +0000
Re: Counted string Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-01-21 01:05 -0800
Re: Counted string albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-01-21 10:54 +0000
Re: Counted string lehs <skydda.barnen@gmail.com> - 2015-01-30 11:18 -0800
Re: Counted string Matthias Koch <matthias.koch@hot.uni-hannover.de> - 2015-01-21 11:58 +0100
Re: Counted string "HAA" <someone@microsoft.com> - 2015-01-22 11:49 +1100
Re: Counted string "Rod Pemberton" <buzz@notnotnontnooatno.cmm> - 2015-01-23 20:17 -0500
Re: Counted string Marek Brunda <marekb@phoenics.org> - 2015-01-26 11:21 -0800
Re: Counted string Mark Wills <markwills1970@gmail.com> - 2015-01-26 12:11 -0800
Re: Counted string "Rod Pemberton" <buzz@notnotnontnooatno.cmm> - 2015-01-26 21:55 -0500
Re: Counted string Julian Fondren <julian.fondren@gmail.com> - 2015-01-26 19:46 -0800
Re: Counted string albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-01-27 12:07 +0000
Re: Counted string "Rod Pemberton" <buzz@notnotnontnooatno.cmm> - 2015-01-28 20:13 -0500
Re: Counted string anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-01-27 15:43 +0000
Re: Counted string Marek Brunda <marekb@phoenics.org> - 2015-01-27 13:28 -0800
Re: Counted string Elizabeth D Rather <erather@forth.com> - 2015-01-27 13:06 -1000
Re: Counted string anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-01-30 17:33 +0000
Re: Counted string "Rod Pemberton" <buzz@notnotnontnooatno.cmm> - 2015-01-28 20:07 -0500
Re: Counted string "Rod Pemberton" <buzz@notnotnontnooatno.cmm> - 2015-01-28 20:16 -0500
Re: Counted string Coos Haak <chforth@hccnet.nl> - 2015-01-29 03:14 +0100
Re: Counted string Pablo Hugo Reda <pabloreda@gmail.com> - 2015-01-26 12:14 -0800
Re: Counted string "Rod Pemberton" <buzz@notnotnontnooatno.cmm> - 2015-01-26 21:55 -0500
Re: Counted string Ron Aaron <rambamist@gmail.com> - 2015-01-27 06:55 +0200
Re: Counted string "Alex McDonald" <blog@rivadpm.com> - 2015-01-27 14:46 +0000
Re: Counted string "Elizabeth D. Rather" <erather@forth.com> - 2015-01-26 11:25 -1000
csiph-web