aboutsummaryrefslogtreecommitdiff
path: root/tests/eval
AgeCommit message (Collapse)AuthorFilesLines
2016-07-20Implement support for <, >, <=, >= in eval contextBoris Kolpackov2-0/+19
Now can write: if ($build.version > 30000)
2016-06-18Port to MinGWKaren Arutyunov1-1/+1
2016-04-18Add support for using value attributes in eval contextBoris Kolpackov2-0/+25
For example: if ($x == [null]) Or: if ([uint64] 01 == [uint64] 1)
2016-04-02Add attribute syntax infrastructureBoris Kolpackov1-1/+1
2016-01-21Add support for ==, != in eval contextBoris Kolpackov2-0/+46
2015-09-09Add initial support for function calls: $func(a b c)Boris Kolpackov1-0/+1
Now it is just a stub that prints the function name and its argument. Currently only single argument can be passed (no value pack support yet).
2015-09-09Add support for evaluation contextBoris Kolpackov3-0/+20
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...