2017-07-04 18:51:26 -04:00
|
|
|
USING: assocs help.markup help.syntax kernel sequences words ;
|
2016-10-31 06:46:39 -04:00
|
|
|
IN: compiler.crossref
|
|
|
|
|
2016-11-26 06:58:09 -05:00
|
|
|
HELP: compiled-crossref
|
2016-11-28 00:33:58 -05:00
|
|
|
{ $var-description "A hashtable that maps words to other words that depend on them and their dependency types." } ;
|
|
|
|
|
|
|
|
HELP: delete-compiled-xref
|
|
|
|
{ $values { "word" word } }
|
|
|
|
{ $description "Deletes cross-referencing data for a word. Used when the optimizing compiler forgets a word." } ;
|
2016-11-26 06:58:09 -05:00
|
|
|
|
2017-07-04 18:51:26 -04:00
|
|
|
HELP: dependencies-satisfied?
|
|
|
|
{ $values { "word" word } { "cache" assoc } { "?" boolean } }
|
|
|
|
{ $description "Checks if all the words dependencies are satisfied or not." } ;
|
|
|
|
|
2016-10-31 06:46:39 -04:00
|
|
|
HELP: load-dependencies
|
2016-11-28 00:33:58 -05:00
|
|
|
{ $values { "word" word } { "seq" sequence } }
|
|
|
|
{ $description "Outputs a sequence of the words dependencies." } ;
|
|
|
|
|
|
|
|
HELP: remove-xref
|
|
|
|
{ $values { "word" word } { "dependencies" sequence } { "crossref" assoc } }
|
|
|
|
{ $description "Removes a set of dependencies from the cross referencing table." } ;
|
2016-11-27 22:13:58 -05:00
|
|
|
|
|
|
|
HELP: store-dependencies
|
|
|
|
{ $values { "word" word } { "assoc" assoc } }
|
2016-11-28 00:33:58 -05:00
|
|
|
{ $description "Stores the dependencies in 'assoc' in the word attribute \"dependencies\"." } ;
|
2017-07-04 18:51:26 -04:00
|
|
|
|
|
|
|
ARTICLE: "compiler.crossref" "Crossreferencing word dependencies."
|
2017-07-05 05:55:30 -04:00
|
|
|
"A vocab that keeps track on how words depends on each other and their dependence types." ;
|
2017-07-04 18:51:26 -04:00
|
|
|
|
|
|
|
ABOUT: "compiler.crossref"
|