My use case is specifically for load-all with editors. The last
editor on macOS is Xcode and I use vscode, and once you have
``USE: editors.visual-studio-code`` then the next time it's a no-op.
``REUSE: editors.visual-studio-code`` is the same thing but with
two extra characters, as opposed to ``"editors.visual-studio-code" reload``
which requires a lot more typing.
We could have ``EDIT:``, ``EDIT-DOCS:``, ``EDIT-TESTS:`` etc if this REUSE:
word is successful.
"T{"
"UNION:"
"INTERSECTION:"
"T{"
"UNION:"
"INTERSECTION:"
hashtables hashtables.identity io.pathnames kernel lexer
locals.errors locals.parser macros math memoize namespaces
parser quotations sbufs sequences slots source-files splitting
hashtables hashtables.identity io.pathnames kernel lexer
locals.errors locals.parser macros math memoize namespaces
parser quotations sbufs sequences slots source-files splitting
-strings strings.parser vectors vocabs.parser words words.alias
-words.constant words.symbol ;
+strings strings.parser vectors vocabs.loader vocabs.parser words
+words.alias words.constant words.symbol ;
IN: bootstrap.syntax
! These words are defined as a top-level form, instead of with
IN: bootstrap.syntax
! These words are defined as a top-level form, instead of with
"PRIVATE>" [ end-private ] define-core-syntax
"PRIVATE>" [ end-private ] define-core-syntax
+ "REUSE:" [ scan-token reload ] define-core-syntax
+
"USE:" [ scan-token use-vocab ] define-core-syntax
"UNUSE:" [ scan-token unuse-vocab ] define-core-syntax
"USE:" [ scan-token use-vocab ] define-core-syntax
"UNUSE:" [ scan-token unuse-vocab ] define-core-syntax
"RENAME:"
"SINGLETON:" "SLOT:" "SPECIALIZED-ARRAY:"
"TYPEDEF:"
"RENAME:"
"SINGLETON:" "SLOT:" "SPECIALIZED-ARRAY:"
"TYPEDEF:"
(defconst factor-begin-of-def-regex
(format "^USING: \\|\\(%s\\)\\|\\(^%s .*\\)"
(defconst factor-begin-of-def-regex
(format "^USING: \\|\\(%s\\)\\|\\(^%s .*\\)"