Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPELLING-OF as native function #139

Merged
merged 1 commit into from
Nov 3, 2015
Merged

SPELLING-OF as native function #139

merged 1 commit into from
Nov 3, 2015

Conversation

hostilefork
Copy link
Member

This adds the SPELLING-OF native from the rebol-proposals repository.
It works on ANY-STRING! or ANY-WORD!, and extracts the "pre-formed"
string data from them:

>> spelling-of <abc>
"abc"

>> spelling-of quote def:
"def"

>> spelling-of "ghi"
"ghi"

Very easy to write as a native, somewhat harder to engineer from outside
the system (especially as Rebol2 would to-string on a SET-WORD! as
the spelling, while R3-Alpha had the delimiter...)

This adds the SPELLING-OF native from the rebol-proposals repository.
It works on ANY-STRING! or ANY-WORD!, and extracts the "pre-formed"
string data from them:

    >> spelling-of <abc>
    "abc"

    >> spelling-of quote def:
    "def"

    >> spelling-of "ghi"
    "ghi"

Very easy to write as a native, somewhat harder to engineer from outside
the system (especially as Rebol2 would to-string on a SET-WORD! as
the spelling, while R3-Alpha had the delimiter...)
@hostilefork hostilefork merged commit 9888f21 into metaeducation:master Nov 3, 2015
@hostilefork hostilefork deleted the spelling-of branch November 3, 2015 07:24
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant