forked from rebolsource/r3
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generalize "Arrow Words" and fix quoting/setting/etc.
Words containing `<` and `>` have presented historical problems, such as not being able to assign them via `>:` or quote them with `'`. There was also an open question about exactly how many forms of words would be allowed, when it would come into conflict with TAG! This commit patches in a self-contained bit of arrow-word code that lets you build any WORD! you like out of `>`, `<`, `|`, `+`, `-`, `=`. The only rule is that such words cannot both begin with a `<` and end with a `>`. A current special exemption is made for `<>`, which has a concept for being both a tag and executable that has not yet been done. Includes tests of transcode for the various forms.
- Loading branch information
1 parent
fbc1107
commit 5a617b8
Showing
3 changed files
with
112 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters