]> gitweb.factorcode.org Git - factor.git/blobdiff - core/syntax/syntax.factor
syntax: Add REUSE: word to easily USE: but reload.
[factor.git] / core / syntax / syntax.factor
index 7a181425b2b2a0797c333afb38048fc436d1b501..ee56d0ac9d9134d9ab3e838db7caa634ae2224ba 100644 (file)
@@ -10,8 +10,8 @@ generic.math generic.parser generic.standard hash-sets
 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
@@ -47,6 +47,8 @@ IN: bootstrap.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