aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test/script/parser.cxx
AgeCommit message (Collapse)AuthorFilesLines
2022-09-28Add support for 'for' loop first form (for x:...) in scriptKaren Arutyunov1-49/+108
2022-09-28Add support for 'while' loop in scriptKaren Arutyunov1-81/+173
2022-06-28Add support for querying out-qualified target-specific variablesBoris Kolpackov1-1/+1
2022-06-21Add --trace-{match,execute} optionsBoris Kolpackov1-14/+14
These options can be used to understand which dependency chain causes matching or execution of a particular target.
2022-02-16Invent quoting modes for to_stream(name)Karen Arutyunov1-1/+1
2021-05-28Add pattern_mode::ignore and use in appropriate placesBoris Kolpackov1-1/+1
2020-12-11Fix set pseudo-builtin to reset special variables when requiredKaren Arutyunov1-10/+1
2020-12-08Add support for config.test.runnerKaren Arutyunov1-1/+39
2020-08-04Fix 'target.path() called out of scope' testscript errorKaren Arutyunov1-0/+7
2020-06-20Fix assertion failure for unbound 'end' in testscriptKaren Arutyunov1-7/+25
Issue #83.
2020-05-27Initial support for ad hoc recipes (still work in progress)Boris Kolpackov1-1957/+114
2020-03-17Rename all find*(variable) to lookup*(variable)Boris Kolpackov1-2/+2
Now we consistently use term "lookup" for variable value lookup. At some point we should also rename type lookup to binding and get rid of all the lookup_type aliases.
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-11-14Cleanup attribute parsing codeBoris Kolpackov1-4/+2
2019-11-14Tighten up attribute recognition during parsingBoris Kolpackov1-2/+5
Now it should be possible to use `[]` for wildcard patterns, for example: foo = foo.[hit]xx Note that a leading bracket expression will still be recognized as attributes and escaping or quoting it will inhibit pattern matching. To resolve this case we need to specify an empty attribute list: foo = [] [abc]-foo.cxx
2019-11-13Use path_name in cc::lexer classKaren Arutyunov1-1/+1
2019-11-11Use path_name for `-` to stdin/stdout translationKaren Arutyunov1-11/+20
2019-11-07Initial work on path_name use for `-` to stdin/stdout translationBoris Kolpackov1-4/+4
2019-09-19Fix crashing on testscript command redirect overridesKaren Arutyunov1-3/+44
2019-08-23Introduce notion of build contextBoris Kolpackov1-16/+16
All non-const global state is now in class context and we can now have multiple independent builds going on at the same time.
2019-07-05Move config, dist, test, and install modules into libraryKaren Arutyunov1-0/+3451