gash/tests/unit
Timothy Sample 87229e4b3a Add arithmetic expansion.
* gash/arithmetic.scm: New file.
* Makefile.am (SOURCES): Add it.
* gash/lexer.scm (get-arithmetic-expansion): New procedure.
(get-expansion): Check for "$((" and use the new procedure to read an
arithmetic expansion.
* gash/eval.scm (word->qword): Handle '<sh-arithmetic>'.
* tests/unit/eval.scm: Add tests.
* tests/spec/Makefile.am (TESTS): Add 'arith'.
* tests/spec/oil.scm: Patch seven of its tests and filter out fifteen
others.
* doc/gash.texi, doc/syntax.txt: Add '<sh-arithmetic>' syntax.
2021-05-26 13:16:50 -04:00
..
automake.scm Add support for Guile 2.0.9. 2019-05-20 18:07:47 -04:00
config.scm.in Add missing copyright headers. 2019-05-20 18:07:47 -04:00
eval.scm Add arithmetic expansion. 2021-05-26 13:16:50 -04:00
lexer.scm Correctly parse double-quoted backquoted commands. 2019-12-09 13:04:18 -05:00
parser.scm Add test for backquoted commands in heredocs. 2019-12-09 13:04:20 -05:00
pattern.scm Delay bracket expression errors in patterns. 2019-11-24 17:13:54 -05:00
shell.scm Use 'sh:exit' for 'errexit'. 2019-08-01 09:12:35 -04:00
word.scm Move evaluation code from 'word' to 'eval'. 2021-04-19 15:11:27 -04:00