aboutsummaryrefslogtreecommitdiff
path: root/build2
AgeCommit message (Collapse)AuthorFilesLines
2016-12-01Allow implicit (lexical) typed-to-typed conversionBoris Kolpackov1-22/+32
2016-11-30Add support for typed/untyped concatenated expansionBoris Kolpackov17-355/+805
2016-11-29Fix escaping issue, propagate quoting for $ and ( tokensBoris Kolpackov5-22/+51
2016-11-29Cosmetic changeBoris Kolpackov1-8/+10
2016-11-28Sketch testscript line regex object modelBoris Kolpackov1-0/+76
2016-11-27Handle C++ standard selection in VC14u3, VC15Boris Kolpackov1-12/+37
They now provide the /std: option which defaults to c++14.
2016-11-26Add support for VC15Karen Arutyunov11-30/+36
2016-11-26Spec testscript regex, add support in token/lexerBoris Kolpackov6-171/+163
2016-11-25Implement literal here-document supportBoris Kolpackov6-46/+105
2016-11-25Allow here-document end marker to be wholly quotedBoris Kolpackov2-6/+46
2016-11-25Distinguish token quoting type and completenessBoris Kolpackov5-28/+109
2016-11-23Implement value type propagation on expansionBoris Kolpackov6-87/+186
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.
2016-11-23Implement assert directiveBoris Kolpackov2-23/+73
The grammar is as follows: assert <expression> [<description>] assert! <expression> [<description>] The expression must evaluate to 'true' or 'false', just like in if-else.
2016-11-23Implement few builtin functions that can operate on any valueBoris Kolpackov4-1/+38
type() null() empty () identity()
2016-11-23Add support for config.cli=false (leave unconfigured)Boris Kolpackov3-23/+50
2016-11-23Print test scope directory changes in verbose (-v) modeKaren Arutyunov1-0/+14
2016-11-22Minor fixBoris Kolpackov1-7/+7
2016-11-22Add missing non-existent src_base diagnosticsBoris Kolpackov1-0/+13
2016-11-22Use diagnostics facility from libbutlBoris Kolpackov21-418/+193
2016-11-21Change build.driver/path variable to build.path/process_pathBoris Kolpackov1-16/+9
2016-11-21Add process_path.{recall,effect} build2 functionsBoris Kolpackov3-82/+119
2016-11-21Make types array in function machinery constexprBoris Kolpackov2-4/+26
2016-11-21Add support for derived-to-base function overload resolutionBoris Kolpackov5-104/+204
2016-11-19Implement workaround for GCC bug (#62052) in function machineryBoris Kolpackov1-0/+99
2016-11-18Add function machinery, implement path.normalize()Boris Kolpackov11-70/+989
Note that multi-argument functions are not yet "callable" since there is no support for value packs.
2016-11-18Implement noop meta-operationBoris Kolpackov5-12/+33
The effect is loading all the buildfiles but not searching/matching/executing any targets/operations. Useful for testing.
2016-11-18Make names and vector<name> different types, add typed value constructorBoris Kolpackov9-27/+49
2016-11-15Add cat, false and true builtinsKaren Arutyunov8-48/+334
2016-11-11Clean up testscript grammar and parserBoris Kolpackov3-578/+624
2016-11-11Get rid of lexer modes overriding pair separatorsBoris Kolpackov5-28/+30
2016-11-10Implement scope-if in testscriptBoris Kolpackov4-148/+432
2016-11-09Various minor semantics changes in testscript languageBoris Kolpackov2-85/+82
The .include directive and if-else no longer have to be separated from the following token. This allows to make the decision by looking at just one token. The test scope can no longer have a description inside the scope. It should always be leading the scope itself.
2016-11-08Implement testscript command-ifBoris Kolpackov6-143/+444
2016-11-08Add mkdir and touch builtinsKaren Arutyunov6-308/+672
2016-11-08Get rid of faulty test script move-ctorKaren Arutyunov4-16/+14
2016-11-07Make build.driver path absoluteBoris Kolpackov3-5/+19
2016-11-07Rework pre-parsed line type in testscriptBoris Kolpackov2-53/+68
2016-11-07Only do effective escaping when re-parsing expansions in testscriptBoris Kolpackov2-4/+19
Doing unconditional escaping messes up expansions that are Windows paths.
2016-11-04Use include-aware location in testscriptBoris Kolpackov2-4/+6
2016-11-04Rework testscript parser into more modular/reusable functionsBoris Kolpackov2-220/+254
2016-11-04Implement testscript inclusion supportBoris Kolpackov5-55/+254
2016-11-04Make newline token always separated from previous oneBoris Kolpackov1-1/+2
2016-11-04Adjust diag_record::os_ member name to osBoris Kolpackov2-9/+9
2016-11-04Print empty name as '' rather than {} in quoted modeBoris Kolpackov2-6/+13
2016-11-04Fix Clang and VC warningsKaren Arutyunov3-3/+11
2016-11-04Adopt to auto_fd introduced to libbutl fdstreams and processKaren Arutyunov9-23/+17
2016-11-04Rely on path from replay data in testscript re-parse phaseBoris Kolpackov2-5/+8
2016-11-04Add file path to replay_tokenBoris Kolpackov2-5/+21
2016-11-04Restructure testscript parser slightlyBoris Kolpackov4-25/+49
2016-11-04Fix VC compilation errorsKaren Arutyunov1-25/+25