Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write a CFG generator #3

Open
ergawy opened this issue Feb 2, 2017 · 0 comments
Open

Write a CFG generator #3

ergawy opened this issue Feb 2, 2017 · 0 comments

Comments

@ergawy
Copy link
Owner

ergawy commented Feb 2, 2017

Implement a control-flow-graph generator to test implemented algorithms and data structures. Check Section 7.8 in Engineering a Compiler for definitions of different CFG constructs.

1 - Randomly choose a construct.
2 - While generating a construct, randomly choose to either generate a nested construct recursively or finish the current construct and exit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant