parse-vocab-manifest-file ( path -- vocab-manifest )


Vocabulary
tools.deploy.backend

Inputs
pathan object


Outputs
vocab-manifestan object


Definition


: parse-vocab-manifest-file ( path -- vocab-manifest )
utf8 file-lines
[ "empty vocab manifest!" throw ] [
unclip-slice "VOCABS:" =
[ { "LIBRARIES:" } split1 vocab-manifest boa ]
[ "invalid vocab manifest!" throw ] if
] if-empty ;