87229e4b3a
* 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. |
||
---|---|---|
.. | ||
fdl-1.3.texi | ||
gash.texi | ||
syntax.txt |