aboutsummaryrefslogtreecommitdiff
path: root/tests/eval
AgeCommit message (Collapse)AuthorFilesLines
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...