Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #27407 > unrolled thread
| Started by | "Alex McDonald" <blog@rivadpm.com> |
|---|---|
| First post | 2013-12-23 20:36 +0000 |
| Last post | 2013-12-23 22:44 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.forth
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
| From | "Alex McDonald" <blog@rivadpm.com> |
|---|---|
| Date | 2013-12-23 20:36 +0000 |
| Subject | Quotation tokens |
| Message-ID | <l9a6rl$mcj$1@dont-email.me> |
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 :}.
: 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.
[toc] | [next] | [standalone]
| From | Bernd Paysan <bernd.paysan@gmx.de> |
|---|---|
| Date | 2013-12-23 22:44 +0100 |
| Message-ID | <l9aarp$6u5$1@online.de> |
| In reply to | #27407 |
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/
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.forth
csiph-web