2016-10-31 06:46:39 -04:00
USING: assocs help.markup help.syntax words ;
IN: compiler.crossref
2016-11-26 06:58:09 -05:00
HELP: compiled-crossref
{ $var-description "A hashtable that maps words to other words that depend on them. It also stores the types of the dependencies." } ;
2016-10-31 06:46:39 -04:00
HELP: load-dependencies
{ $values { "word" word } { "assoc" assoc } }
{ $description "Creates an assoc where keys are the words the word depends on and values are the dependency type." } ;
2016-11-27 22:13:58 -05:00
HELP: store-dependencies
{ $values { "word" word } { "assoc" assoc } }
{ $description "Stores the dependencies in 'assoc' in the word attributes named \"effect-dependencies\", \"conditional-dependencies\" and \"definition-dependencies\"." } ;