summaryrefslogtreecommitdiffstats
path: root/build2/function.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearKaren Arutyunov2019-01-161-1/+1
|
* Move invalid_argument handler from default_thunk() to call()Boris Kolpackov2018-10-231-12/+14
| | | | This way we let a custom thunk catch derived exception (like invalid_path).
* Make project variable to be of project_name typeKaren Arutyunov2018-07-301-0/+2
|
* Add builtin.concat(dir_path,name) overloadBoris Kolpackov2018-07-201-0/+2
| | | | | | In particular, this allows: export $out_root/libfoo/$import.target
* Resolve function overload via the argument reversal to untypedBoris Kolpackov2018-07-161-22/+62
|
* Add $process.run() and $process.run_regex() functionsBoris Kolpackov2018-06-201-0/+2
| | | | | | | | | | | | | | $process.run(<prog>[ <args>...]) Return trimmed stdout. $process.run_regex(<prog>[ <args>...], <pat> [, <fmt>]) Return stdout lines matched and optionally processed with regex. Each line of stdout (including the customary trailing blank) is matched (as a whole) against <pat> and, if successful, returned, optionally processed with <fmt>, as an element of a list.
* Update copyright yearKaren Arutyunov2018-05-191-1/+1
|
* Fix few undefined behavior (ubsan) bugsBoris Kolpackov2018-01-021-3/+3
|
* Add support for for-loopBoris Kolpackov2017-11-091-1/+1
| | | | | | | | | | | | | | | | The semantics is similar to the C++11 range-based for: list = 1 2 3 for i: $list print $i Note that there is no scoping of any kind for the loop variable ('i' in the above example). See tests/loop/for.test for some examples/ideas. In the future the plan is to also support more general while-loop as well as break and continue.
* Add ability to pass scope to buildfile functions, add $install.resolve()Boris Kolpackov2017-09-111-5/+31
|
* Add support for regex function familyKaren Arutyunov2017-06-271-0/+2
|
* Add support for $path_search() and $path_match()Karen Arutyunov2017-06-261-2/+4
|
* Add hxx extension for headersKaren Arutyunov2017-05-011-1/+1
|
* Make use of operator<<(ostream, exception)Karen Arutyunov2017-01-091-3/+2
|
* Store platform targets as typed target_tripletBoris Kolpackov2017-01-061-5/+7
|
* Update copyright yearBoris Kolpackov2017-01-051-1/+1
|
* Add support for typed/untyped concatenated expansionBoris Kolpackov2016-11-301-6/+14
|
* Add support for VC15Karen Arutyunov2016-11-261-1/+1
|
* Implement few builtin functions that can operate on any valueBoris Kolpackov2016-11-231-0/+2
| | | | | | | type() null() empty () identity()
* Use diagnostics facility from libbutlBoris Kolpackov2016-11-221-39/+32
|
* Add process_path.{recall,effect} build2 functionsBoris Kolpackov2016-11-211-2/+3
|
* Make types array in function machinery constexprBoris Kolpackov2016-11-211-0/+4
|
* Add support for derived-to-base function overload resolutionBoris Kolpackov2016-11-211-88/+170
|
* Add function machinery, implement path.normalize()Boris Kolpackov2016-11-181-0/+231
Note that multi-argument functions are not yet "callable" since there is no support for value packs.