GROUP! as new default term for PAREN! #206
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This changes the convention for Ren-C to use the name GROUP internally
such that the macros are IS_GROUP() instead of IS_PAREN(), REB_GROUP
instead of REB_PAREN, etc. PAREN!, PAREN?, and TO-PAREN are kept
as synonyms in the mezzanine, and a legacy switch to get TO-WORD
of the datatype to say "PAREN!" is also included.
(Long term the hope is to deprecate TO-WORD on datatypes, to eliminate
their keyword form and use exemplars, along the lines of #[()] for
a GROUP!/PAREN! so the word doesn't matter.)
Making this change and type renames less of an issue in Ren-C is the
new behavior of switch. Previous concern over what name a type had
was often driven by switch statements, where a switch on TYPE?/WORD
could only have one answer regardless of what the alias one used was.
With TYPE-OF no longer offering a word and switch being able to
fetch values with get-words, the answer is better: