gash/gash
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
..
built-ins Support printing the current umask. 2020-03-22 11:49:41 -04:00
compat gash compat textual-ports: Add put-char. 2019-12-09 13:57:15 -05:00
arithmetic.scm Add arithmetic expansion. 2021-05-26 13:16:50 -04:00
built-ins.scm Add the wait built-in. 2020-03-17 17:57:01 -04:00
compat.scm Allow one-armed 'if-guile-version-below'. 2019-12-09 13:53:55 -05:00
config.scm.in Remove compression utility configuration. 2019-05-20 01:18:54 -04:00
environment.scm Add basic support for asynchronous commands. 2020-03-17 17:15:36 -04:00
eval.scm Add arithmetic expansion. 2021-05-26 13:16:50 -04:00
gash.scm Add basic support for asynchronous commands. 2020-03-17 17:15:36 -04:00
lexer.scm Add arithmetic expansion. 2021-05-26 13:16:50 -04:00
parser.scm Fix case statements in '$(...)' substitutions. 2019-12-09 13:04:20 -05:00
pattern.scm Fix pathname expansion. 2019-12-09 13:23:54 -05:00
readline.scm Guile As SHell. 2018-11-05 19:59:53 +01:00
repl.scm Add basic support for asynchronous commands. 2020-03-17 17:15:36 -04:00
shell.scm Respect noclobber when redirecting. 2020-03-22 11:57:17 -04:00
word.scm Move evaluation code from 'word' to 'eval'. 2021-04-19 15:11:27 -04:00