Core cleanups
parent
b8cf64bc76
commit
6d6560c6a8
|
@ -44,6 +44,7 @@
|
||||||
|
|
||||||
+ ui:
|
+ ui:
|
||||||
|
|
||||||
|
- better help result ranking
|
||||||
- page scrolling should be timer-based too
|
- page scrolling should be timer-based too
|
||||||
- invoking interactor commands when interactor is busy -- still fucked
|
- invoking interactor commands when interactor is busy -- still fucked
|
||||||
because of grafting and ungrafting
|
because of grafting and ungrafting
|
||||||
|
|
|
@ -25,7 +25,7 @@ TUPLE: module name files tests modified ;
|
||||||
|
|
||||||
: modified? ( file module -- ? )
|
: modified? ( file module -- ? )
|
||||||
dupd module-modified hash
|
dupd module-modified hash
|
||||||
swap resource-path file-modified < ;
|
swap resource-path file-modified [ < ] [ drop f ] if* ;
|
||||||
|
|
||||||
: prefix-paths ( name seq -- newseq )
|
: prefix-paths ( name seq -- newseq )
|
||||||
[ "/" swap append3 ] map-with ;
|
[ "/" swap append3 ] map-with ;
|
||||||
|
|
|
@ -155,10 +155,11 @@ SYMBOL: bootstrapping?
|
||||||
: xref-words ( -- )
|
: xref-words ( -- )
|
||||||
all-words [ uses ] crossref get build-graph ;
|
all-words [ uses ] crossref get build-graph ;
|
||||||
|
|
||||||
|
: create-vocab ( name -- vocab )
|
||||||
|
vocabularies get [ nest ] bind ;
|
||||||
|
|
||||||
: reveal ( word -- )
|
: reveal ( word -- )
|
||||||
vocabularies get [
|
dup word-name over word-vocabulary create-vocab set-hash ;
|
||||||
dup word-name over word-vocabulary nest set-hash
|
|
||||||
] bind ;
|
|
||||||
|
|
||||||
TUPLE: check-create name vocab ;
|
TUPLE: check-create name vocab ;
|
||||||
: check-create ( name vocab -- name vocab )
|
: check-create ( name vocab -- name vocab )
|
||||||
|
|
Loading…
Reference in New Issue