modern: delete some paths.

locals-and-roots
Doug Coleman 2016-06-22 15:09:15 -07:00
parent c519a52b57
commit 24bfc798fc
2 changed files with 2 additions and 37 deletions

View File

@ -552,7 +552,6 @@ CONSTANT: factor-lexing-rules {
".private" ?tail drop
vocab-source-path path>literals ;
! What a lexer body looks like, produced by make-lexer
! : lex ( n/f string -- n'/f string literal )
! "!`\\\"[{(\s\r\n" slice-til-either {
@ -568,26 +567,3 @@ CONSTANT: factor-lexing-rules {
! { char: \n [ read-token-or-whitespace ] }
! { f [ f like dup [ make-tag-literal ] when ] }
! } case ; inline
![[
vocab-roots get [ vocabs-from reject-some-paths ] map concat
{
"specialized-arrays" "specialized-vectors"
"math.blas.matrices" "math.blas.vectors" "math.vectors.simd"
"math.vectors.simd.cords" "game.debug" "gpu.util" "gpu.effects.blur"
"gpu.effects.step" "model-viewer" "terrain.shaders" "spheres"
"bunny.cel-shaded" "bunny.outlined"
} diff
[ modern-source-path dup <pathname> . path>literals ] map-zip
vocab-roots get [ vocabs-from reject-some-paths ] map concat
{
"specialized-arrays" "specialized-vectors"
"math.blas.matrices" "math.blas.vectors" "math.vectors.simd"
"math.vectors.simd.cords" "game.debug" "gpu.util" "gpu.effects.blur"
"gpu.effects.step" "model-viewer" "terrain.shaders" "spheres"
"bunny.cel-shaded" "bunny.outlined"
} diff
[ modern-source-path ] map
[ ] rewrite-paths
]]

View File

@ -55,8 +55,6 @@ IN: modern.paths
"resource:core/vocabs/loader/test/n/n.factor"
"resource:core/vocabs/loader/test/o/o.factor"
"resource:core/vocabs/loader/test/p/p.factor"
"resource:extra/math/blas/vectors/vectors.factor" ! need .modern file
"resource:extra/math/blas/matrices/matrices.factor" ! need .modern file
} diff
! Don't parse .modern files yet
[ ".modern" tail? ] reject ;
@ -68,14 +66,6 @@ IN: modern.paths
: modern-tests-paths ( names -- paths )
[ vocab-tests-path ] map filter-exists reject-some-paths ;
: unsupported-vocabs ( -- seq )
{
"specialized-arrays" "specialized-vectors"
"math.blas.matrices" "math.blas.vectors" "math.vectors.simd"
"math.vectors.simd.cords"
} ;
: all-vocabs ( -- seq )
[
vocab-roots get [ vocabs-from ] map concat
@ -84,7 +74,6 @@ IN: modern.paths
: all-vocab-paths ( -- seq )
[
all-vocabs less-core-test-vocabs
unsupported-vocabs diff
[ modern-source-paths ] [ modern-docs-paths ] [ modern-tests-paths ] tri
] { } append-outputs-as reject-some-paths filter-exists ;