pulumi/cmd
joeduffy 0de32db954 Add support for local functions
This change, part of pulumi/coconut#62, adds support for ECMAScript
local functions.  This leverages the recent support for lambdas.
The change also adds some new test cases for the various forms.

Here are some examples of supported forms:

    function outer() {
        // simple named inner function:
        function inner1() { .. };
        // anonymous inner function (just a lambda):
        let inner2 = function() { ... };
        // named and bound inner function:
        let inner3 = function inner4() { ... };
    }

These merely compile into lambdas that have been bound to local
variables with the appropriate names.
2017-05-04 10:57:26 -07:00
..
cidlc Update the CIDLC README with build, running, etc. instructions 2017-04-30 08:36:57 -07:00
coco Use github.com/pkg/errors for errors 2017-04-19 14:46:50 -07:00
cocojs Add support for local functions 2017-05-04 10:57:26 -07:00
cocopy Permit Statements in SequenceExpressions 2017-05-04 10:54:07 -07:00