Comments (1)
I spent Saturday reading Johnsson's paper and the Danvy & Schultz's paper on lambda lifting to better understand the algorithm.
In short, there are three main steps:
- A renaming pass: give each function id a unique name, so that they don't collide in step 3
- A parameter lift pass: find the free vars in a function's scope and copy those ids into a functions parameters
- A block floating pass: any function blocks that are not in the global scope get "floated" into the global scope.
from tensorflock.
Related Issues (20)
- Script for generating llvm output from a C file HOT 1
- Streamline TLit codegen
- Long Compilation Times HOT 1
- Additions to Docker container HOT 1
- Write more negative tests for semantic checking of tensor shapes
- Implement renaming pass HOT 1
- Implement parameter lifting pass
- Implement a block floating pass
- Codegen var bug HOT 1
- Implement internal casting HOT 1
- C function to do einstein summation HOT 1
- Index binding in expressions
- Topsort HOT 1
- Do local variables for scopes post lifting HOT 4
- Rewrite LRM
- Codegen for Forall HOT 2
- # includer HOT 1
- Reduce from Tensor struct to just double array HOT 1
- Test runner fix HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflock.