Path: csiph.com!aioe.org!.POSTED!not-for-mail From: Rod Pemberton Newsgroups: comp.lang.forth Subject: Re: f.) for Gorth Date: Thu, 8 Dec 2016 18:53:30 -0500 Organization: Aioe.org NNTP Server Lines: 23 Message-ID: <20161208185330.6d26b935@_> References: <33ce84eb-b042-440d-8e0c-8134b7db18df@googlegroups.com> <57548000-b756-4f8b-ac69-6e3fb4be4f7e@googlegroups.com> NNTP-Posting-Host: n4wpt9zq8xR26Ttf9mo2BA.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Claws Mail 3.13.1 (GTK+ 2.24.13; x86_64-unknown-linux-gnu) Xref: csiph.com comp.lang.forth:53208 On Thu, 8 Dec 2016 08:12:34 +0000 Gerry Jackson wrote: > On 08/12/2016 03:49, hughaguilar96@gmail.com wrote: > > Other languages use some kind of prefix or suffix to indicate > > hexadecimal --- we have $ in Pascal and 0x in C. > > Forth 2012/20XX has prefixes: > > # for decimal numbers > $ for hex > % for binary > > See section 3.4.1.3 in http://forth-standard.org/standard/usage > Why are # $ % number prefixes instead of standalone Forth words? I.e., why aren't they followed by a space? The parsing would seem to be more C style than Forth. Rod Pemberton