[EMAIL PROTECTED] wrote:
> Can anyone point me to info on the whole 'dialecting' in REBOL topic?
> Every article I've seen touts this as a killer feature of REBOL but I
> haven't been able to find any significant reference or example in any
> of the documentation on the rebol web site. In fact, I just joined
> this list in the hope of catching some references to what this is all
> about and how to do it.
>
Hi Steve,
you seem to be confused in the same way I was :-) As Carl said, "dialect" in
computer language means special ordering of words and its values. You can find
dialects in other languages too - e.g. Carl mentioned printf function of C language
- it simply has special orderings of words, not being applicable anywhere else in
the language. Maybe even parameters list to function could be regarded being
"dialects".
In REBOL you have top/global context, in which words/functions/objects are defined.
Try typing 'what in your console to see their list. Once you create simple block of
values, you can regard it being dialect.
database: [
Petr_Krenzelok [Address "Navsi 645, 739 92" age 27 state "single"]
]
it doesn't matter, if you will have 'Address defined somewhere in the global context
print database/Pet_Krenzelok/state
But as for "real" dialects, look at 'parse function, which will enable you to create
own grammars, sublanguages
-pekr-
>
> Thanks.
>
> -Steve
>
> __ Reply Separator _
> Subject: [REBOL] Dialecting improvement?
> Author: <[EMAIL PROTECTED]> at INTERNET
> Date:1/10/00 7:36 PM
>
> Hi,
>
> > Carl Sassenrath wrote:
> > Over the last week I've added the parse block capability necessary to
> > make dialects easier to write, and the first GUI dialect is now
> > up and drawing screens.
>
> when will these parse block capabilities be available? Would it be possible
> to show us how dialects will look like, how they are generated, handled
> etc.? I really would like to start using dialecting today...
>
> Robert M. Muench, Karlsruhe, Germany
> ==> ask for PGP public-key <==
>
> When do you want to reboot today?
>
> Use the free portable GUI Library
> OpenAmulet from http://www.openip.org
>
>