]> gitweb.factorcode.org Git - factor.git/blobdiff - core/words/words.factor
classes.builtin: Add the BUILTIN: keyword which lets builtin classes show up in sourc...
[factor.git] / core / words / words.factor
index c17f2657537ed6066f7ea0ae1053f225008b00c4..aaeb35659115fd5afd2bff7835eb92adfa693452 100644 (file)
@@ -6,6 +6,11 @@ slots.private strings vocabs ;
 FROM: assocs => change-at ;
 IN: words
 
+BUILTIN: word
+{ hashcode fixnum initial: 0 } name vocabulary
+{ def quotation initial: [ ] } props pic-def pic-tail-def
+{ sub-primitive read-only } ;
+
 : word ( -- word ) \ word get-global ;
 
 : set-word ( word -- ) \ word set-global ;