3d3375e066
The old implementation had several bugs, prompting this complete rewrite. * gash/compat/srfi-43.scm (vector-empty?): New procedure. * gash/pattern.scm (pattern-null?): New procedure. * gash/word.scm (qword->pattern-string): New procedure. (qword->pattern): Rewrite using 'qword->pattern-string'. (find-files): New procedure. (expand-pathnames): Rewrite using 'find-files' and add a docstring. * tests/unit/word.scm: Add tests. (mock): New syntax. (make-pure-scandir): New procedure. (with-mocked-files): New syntax. |
||
---|---|---|
.. | ||
automake.scm | ||
config.scm.in | ||
lexer.scm | ||
parser.scm | ||
pattern.scm | ||
shell.scm | ||
word.scm |