aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.cxx
AgeCommit message (Expand)AuthorFilesLines
2020-05-29Add support for is-else, switch in ad hoc recipesBoris Kolpackov1-130/+262
2020-05-27Add support for value subscript after expansionsBoris Kolpackov1-27/+118
2020-05-27Initial support for ad hoc recipes (still work in progress)Boris Kolpackov1-140/+404
2020-05-27Improve ternary diagnostics with info for wildcard pattern escapeBoris Kolpackov1-2/+13
2020-05-01Fix outstanding issue with directive vs assignment differentiationBoris Kolpackov1-6/+14
2020-04-30Rename target::member to target::adhoc_memberBoris Kolpackov1-2/+2
2020-04-27Rework tool importation along with cli moduleBoris Kolpackov1-55/+107
2020-04-27Don't switch projects when switching scopes during bootstrapBoris Kolpackov1-5/+13
2020-04-27Fix assertion failure when name extension pattern is usedKaren Arutyunov1-0/+4
2020-04-08Allow configuration variables in unnamed projectsBoris Kolpackov1-9/+27
2020-03-31Handle duplicate config directives for same variableBoris Kolpackov1-1/+18
2020-03-31Switch to project variable visibility by defaultBoris Kolpackov1-2/+3
2020-03-27Fix bug in previous commitBoris Kolpackov1-2/+2
2020-03-27Implement project configuration reporting, similar to build system modulesBoris Kolpackov1-85/+186
2020-03-26Make buildfile parser reset'ableBoris Kolpackov1-12/+32
2020-03-25Enforce config directives only appearing in project's root.buildBoris Kolpackov1-6/+7
2020-03-20Initial implementation of config directive for project-specific configurationBoris Kolpackov1-1/+135
2020-03-20Lexer support for default value assignment (?=)Boris Kolpackov1-0/+10
2020-03-18Cleanup variable type/visibility/overridability logicBoris Kolpackov1-40/+54
2020-03-18Get rid of old and unused logicBoris Kolpackov1-30/+5
2020-03-17Rename all find*(variable) to lookup*(variable)Boris Kolpackov1-2/+2
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2020-01-28Use scope::var_pool()Boris Kolpackov1-3/+3
2020-01-27Improve module loading APIBoris Kolpackov1-1/+1
2020-01-27Improve process run_*() APIBoris Kolpackov1-9/+6
2019-11-15Test and document wildcard character escapingBoris Kolpackov1-1/+1
2019-11-15Generalize attributes to be comma-separated with arbitrary valuesBoris Kolpackov1-45/+77
2019-11-14Cleanup attribute parsing codeBoris Kolpackov1-48/+28
2019-11-14Require attributes to be separated from words and similar on RHSBoris Kolpackov1-2/+19
2019-11-14Tighten up attribute recognition during parsingBoris Kolpackov1-78/+111
2019-11-11Use path_name for `-` to stdin/stdout translationKaren Arutyunov1-17/+18
2019-11-07Initial work on path_name use for `-` to stdin/stdout translationBoris Kolpackov1-2/+2
2019-11-05Cosmetic changeBoris Kolpackov1-2/+2
2019-11-05Fix function call diagnostics to use diag_frameBoris Kolpackov1-15/+11
2019-11-04Add support for configuration exporting and importingBoris Kolpackov1-3/+8
2019-10-31Fix crashing on unhandled invalid_path thrown by parser::parse_include()Karen Arutyunov1-17/+36
2019-10-09Prepend pattern search paths to PATH when running binutilsBoris Kolpackov1-5/+6
2019-10-01Adapt to moving path match to path-pattern.?xxKaren Arutyunov1-1/+2
2019-10-01Adapt to swapping of entry and pattern parameters in butl::path_match()Karen Arutyunov1-3/+3
2019-09-30Fix bug in for-loop body evaluationBoris Kolpackov1-6/+10
2019-09-30Allow attributes in if-else, assert directive's conditionsBoris Kolpackov1-17/+25
2019-09-30Cleanup inappropriate use of parse_variable_value()Boris Kolpackov1-40/+42
2019-09-30Handle attributes in switch value and pattern expressionsBoris Kolpackov1-2/+28
2019-09-30Diagnose `case` and `default` outside `switch`Boris Kolpackov1-1/+2
2019-09-30Reserve `:` in `case` pattern expression for future match extraction supportBoris Kolpackov1-1/+11
2019-09-30Add support for custom match/extract functions in switch expressionBoris Kolpackov1-46/+82
2019-09-30Add support for `case` pattern alternativesBoris Kolpackov1-8/+38
2019-09-30Allow multiple `case` for single line/blockBoris Kolpackov1-34/+82
2019-09-30Pattern matching support (switch): multiple values implementationBoris Kolpackov1-23/+52
2019-09-30Pattern matching support (switch): single value implementationBoris Kolpackov1-45/+220