mattbierner / khepri

ECMAScript derived programming language
http://khepri-lang.com/
MIT License
67 stars 3 forks source link

Automatic Forwarding of Package Exported Functions #40

Closed mattbierner closed 10 years ago

mattbierner commented 10 years ago
package (a b) {
    a = b \> (+, 1);

    b = (*, 2)
}

Will not work since b is defined after a uses it an expression. The work around is to manually specify a temp b that forwards to the real b once it is defined.