Hi,

you wrote:
>How is dialecting different from defining a new word in
>Forth?  

Dialecting goes beyond just extending REBOL's vocabular. It permits you to
also define your own syntactic structures (i.e. language grammar).

>How does this make REBOL better than any language
>which allows you to define new words?

Some differences between REBOL and languages that allow you to define new
words:
1. There are now holy cows, i.e. keywords. REBOL allows you to define new
words as well as any word from REBOL's existing vocabulary to be anything
you want.

2. Using REBOL's dialecting support, you can also define new syntactic
structures.

3. Using contexts you can precisely control under what circumstances your
new word definitions/syntactic structures become affective, without
impacting REBOL's default vocabulary and behavior.

4. Based on contexts you can freely mix REBOL's default behavior and any
number of dialects.

Example: See the CID dialect that is shipping REBOL/View beta

Hope this helps,


;- Elan >> [: - )]

Reply via email to