]> gitweb.factorcode.org Git - factor.git/blobdiff - core/syntax/syntax-docs.factor
Move call( and execute( to core
[factor.git] / core / syntax / syntax-docs.factor
index 25b963c574331bd53b05c661ffbdbeef96bde2d5..1a61845fd183d50ce42f34f25cc0a43b03ab17cb 100644 (file)
@@ -770,3 +770,13 @@ HELP: call-next-method
 { POSTPONE: call-next-method (call-next-method) next-method } related-words
 
 { POSTPONE: << POSTPONE: >> } related-words
+
+HELP: call(
+{ $syntax "call( stack -- effect )" }
+{ $description "Calls the quotation on the top of the stack, asserting that it has the given stack effect. The quotation does not need to be known at compile time." } ;
+
+HELP: execute(
+{ $syntax "execute( stack -- effect )" }
+{ $description "Calls the word on the top of the stack, asserting that it has the given stack effect. The word does not need to be known at compile time." } ;
+
+{ POSTPONE: call( POSTPONE: execute( } related-words
\ No newline at end of file