Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-12-15 | Improve escape sequence support | Boris Kolpackov | 1 | -0/+17 | |
Specifically: 1. In the double-quoted strings we now only do effective escaping of the special `$("\` characters plus `)` for symmetry. 2. There is now support for "escape sequence expansion" in the form $\X where \X can be any of the C/C++ simple escape sequences (\n, \t, etc) plus \0 (which in C/C++ is an octal escape sequence). For example: info "foo$\n$\tbar$\n$\tbaz" Will print: buildfile:1:1: info: foo bar baz | |||||
2021-05-28 | Ban conversion of patterns to values | Boris Kolpackov | 1 | -1/+1 | |
Also improve conversion diagnostic. | |||||
2020-05-27 | Add support for value subscript after expansions | Boris Kolpackov | 2 | -1/+98 | |
Value subscript is only recognized in evaluation contexts (due to ambiguity with wildcard patterns; consider: $x[123].txt) and should be unseparated from the previous token. For example: x = ($y[1]) x = (($f ? $y : $z)[1]) x = ($identity($y)[$z]) | |||||
2020-02-07 | Drop copyright notice from source code | Karen Arutyunov | 3 | -3/+0 | |
2019-01-16 | Update copyright year | Karen Arutyunov | 3 | -3/+3 | |
2018-09-04 | Rename .test/test{} to .testscript/testscript{} | Boris Kolpackov | 3 | -5/+5 | |
2018-08-09 | Fix test failures on Windows | Boris Kolpackov | 1 | -2/+2 | |
2018-08-09 | Handle few corner cases in concatenated expansion | Boris Kolpackov | 1 | -0/+28 | |
2018-05-19 | Update copyright year | Karen Arutyunov | 2 | -2/+2 | |
2017-07-12 | Make use of wildcards in buildfiles | Karen Arutyunov | 1 | -1/+1 | |
2017-01-05 | Update copyright year | Boris Kolpackov | 2 | -2/+2 | |
2016-12-16 | Convert tests/ to subproject, initial work on cross-testing support | Boris Kolpackov | 1 | -1/+1 | |
2016-12-01 | Organize tests/, factor common testscript fragments | Boris Kolpackov | 3 | -15/+2 | |
2016-12-01 | Allow implicit (lexical) typed-to-typed conversion | Boris Kolpackov | 1 | -6/+3 | |
2016-11-25 | Implement literal here-document support | Boris Kolpackov | 1 | -8/+8 | |
2016-11-23 | Implement value type propagation on expansion | Boris Kolpackov | 3 | -0/+71 | |
Currently, we only propagate types of sole, unquoted expansions (variable, function call, or eval context), similar to NULL. To untypify the value, simply quote it. |