Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #27408

Re: Quotation tokens

From Bernd Paysan <bernd.paysan@gmx.de>
Newsgroups comp.lang.forth
Subject Re: Quotation tokens
Date 2013-12-23 22:44 +0100
Organization 1&1 Internet AG
Message-ID <l9aarp$6u5$1@online.de> (permalink)
References <l9a6rl$mcj$1@dont-email.me>

Show all headers | View raw


Alex McDonald wrote:

> Before we get all formal...
> 
> There's a general consensus on[: and ;] as the unnamed equivalent of
> :noname ; . I'd prefer [' and '] as the inline unnamed equivalent of [']
> <name>.
> 
> These tokens also more clearly not {: and :}.

We would have taken { and } for locals (and probably will continue to use 
them), but somebode used { and } for some sort of comments or so, and 
objected violently...

> : bar {: a b :} [: a b + ;] foo ;
> : flop {: c :} [: c ;] flip ;
> 
> : bar {: a b :} [' a b + '] foo ;
> : flop {: c :} [' c '] flip ;
> 
> And quotations use a quote too.

Point taken.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

Back to comp.lang.forth | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Quotation tokens "Alex McDonald" <blog@rivadpm.com> - 2013-12-23 20:36 +0000
  Re: Quotation tokens Bernd Paysan <bernd.paysan@gmx.de> - 2013-12-23 22:44 +0100

csiph-web