ts-graph-extractor's People
Forkers
saarts21ts-graph-extractor's Issues
Parse input arguments using a dedicated package
Update README and fix start script
Refactor handling "this" object in function declarations
Return vertices are missing in implicitly returning control flows
For example, the sub-graph of the following function will not contain a return vertex:
function foo() {
const x = 1;
}
List all supported (and some unsupported) language features
Restore full feature support (for previously supported features)
Language features to support:
- break\continue statements.
- Classes.
- Arrays.
Extract graph datastructure to a seperate package
Cleanup .gitignore file
Add association edges between branches and merges.
Add auto formating with ESLint\Prettier
Add for loops support
Should convert for-of and for-in loops to their iterable protocol equivalent.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
Add specification for Graph IR
Edges output in database format is not correct
Add code coverage reports
Merge consecutive Phi nodes
Add support for compound assignments binary operators
Update README file
Nested while loops with phi blocks causes an error
The following code will cause an error ("Symbol 'undefined' does not exist in the symbol table"):
function fun1() {
let count = 0;
let i = 0;
while (i < 10) {
let j = 0;
while (j < 10) {
count = count + 1;
j = j + 1;
}
i = i + 1;
}
return count;
}
Emitting control vertices as part of a loop condition will cause an assertion failure
reproducible with the following code:
function foo(a) {
while (foo(1)) {
console.log("Hello World");
}
return false;
}
Divide graph into subgraphs for each function
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.