aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script
AgeCommit message (Collapse)AuthorFilesLines
2020-06-26Drop workarounds for script::redirect struct compile errorsKaren Arutyunov2-58/+4
Thanks to the butl::optional improvement to better deal with lack of copy/move constructors.
2020-06-19Raise libcpp version in regex-related check to 10.0Karen Arutyunov1-1/+1
2020-06-18Add env script pseudo-builtinKaren Arutyunov5-19/+306
Also disable C++ recipe tests when cross-testing.
2020-06-18Fix build2::script::parser::[reset_]quoted() to consider peeked token in ↵Karen Arutyunov1-2/+3
replay mode
2020-06-10Handle special variable names in base lexer via mode dataBoris Kolpackov1-1/+1
2020-06-08Cleanup script command failure diagnosticsKaren Arutyunov3-18/+23
2020-06-08Various minor fixesKaren Arutyunov1-1/+1
2020-06-05Add depdb buildscript builtinKaren Arutyunov2-129/+160
2020-06-04Properly handle diag directive in build script parserKaren Arutyunov2-27/+31
2020-06-03Allow process path values and targets as buildscript program namesKaren Arutyunov5-39/+141
Also deduce the recipe name.
2020-05-28Regenerate options parsing codeBoris Kolpackov1-9/+10
2020-05-27Add support for value subscript after expansionsBoris Kolpackov1-3/+2
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-05-27Initial support for ad hoc recipes (still work in progress)Boris Kolpackov21-0/+9222