loredanacirstea / taylor

Measure twice, cut once. Lisp-like functional language for computable & immutable specifications, interpreted by WebAssembly & the Ethereum Virtual Machine.
https://loredanacirstea.github.io/taylor/
GNU General Public License v3.0
37 stars 2 forks source link

Access parent, in-memory environments #21

Open loredanacirstea opened 4 years ago

loredanacirstea commented 4 years ago

We have access to only the current function environment when executing. We should have a hierarchical access to parent environments to lookup unknowns.

loredanacirstea commented 4 years ago

Duplicate of https://github.com/loredanacirstea/taylor/issues/25, which was solved.

loredanacirstea commented 4 years ago

I meant something else - it is not about functions stored in chained contracts, but about in-memory lookups of unknowns (e.g. when using lambdas). I have to think more about this.