Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-09-09 | Add support for quoting directive names | Boris Kolpackov | 1 | -1/+6 | |
Now only unquoted, literal names are recognized as directives, for example: 'print' = abc print $print | |||||
2015-09-09 | Add support for evaluation context | Boris Kolpackov | 1 | -36/+60 | |
For now it acts as just the value mode that can be enabled anywhere variable expansion is supported, for example: (foo=bar): And the primary use currently is to enable/test quoted and indirect variable expansion: "foo bar" = FOO BAR print $"foo bar" # Invalid. print $("foo bar") # Yeah, baby. foo = FOO FOO = foo print $($foo) Not that you should do something like this... | |||||
2015-09-09 | Reimplement double quote lexing to avoid "implied quote" trick | Boris Kolpackov | 1 | -98/+93 | |
2015-09-08 | Initial take on double quote support | Boris Kolpackov | 1 | -15/+84 | |
Currently, $(foo)-style variable expansion is not supported. | |||||
2015-09-08 | Use mode stack in lexer | Boris Kolpackov | 1 | -16/+16 | |
2015-09-08 | Implement single quote support | Boris Kolpackov | 1 | -4/+35 | |
2015-09-08 | Clean up lexer mode logic | Boris Kolpackov | 1 | -2/+0 | |
2015-08-27 | Dist module/meta-operation initial implementation | Boris Kolpackov | 1 | -4/+1 | |
2015-06-18 | Add char-scanner to libbutl, use in libbpkg and build2 | Boris Kolpackov | 1 | -75/+9 | |
2015-05-11 | Correct copyright | Boris Kolpackov | 1 | -1/+1 | |
2015-03-30 | Add support for configurable pair separator, use @ instead of = in buildspec | Boris Kolpackov | 1 | -35/+11 | |
2015-03-06 | Add support for lexing and parsing name pairs | Boris Kolpackov | 1 | -17/+60 | |
We will need it for the buildspec and also if/when we support map variable types. | |||||
2015-03-02 | Implement variable expansion | Boris Kolpackov | 1 | -0/+37 | |
2015-03-02 | Indicate whether token is separated from previous one by whitespaces | Boris Kolpackov | 1 | -72/+87 | |
2015-03-02 | Implement value lexing mode | Boris Kolpackov | 1 | -18/+58 | |
So that we can do foo=g++ without having to resort to quoting | |||||
2015-03-02 | Clean up clang warnings | Boris Kolpackov | 1 | -3/+3 | |
2015-02-27 | Variable assignment, appending support | Boris Kolpackov | 1 | -1/+14 | |
2015-01-20 | Diagnostic infrastructure revamp | Boris Kolpackov | 1 | -8/+5 | |
2014-12-15 | Parse directory scopes | Boris Kolpackov | 1 | -5/+5 | |
2014-12-12 | Initial buildfile parser implementation | Boris Kolpackov | 1 | -4/+8 | |
g++-4.9 -std=c++14 -g -I../../.. -o driver driver.cxx ../../../build/lexer.cxx ../../../build/parser.cxx && ./driver | |||||
2014-12-12 | Add test for lexer | Boris Kolpackov | 1 | -2/+4 | |
g++-4.9 -std=c++14 -g -I../../.. -o driver driver.cxx ../../../build/lexer.cxx && ./driver | |||||
2014-12-11 | Initial lexer implementation for buildfiles | Boris Kolpackov | 1 | -0/+220 | |