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

Understanding the generator #12

Open
Hirrolot opened this issue May 10, 2023 · 2 comments
Open

Understanding the generator #12

Hirrolot opened this issue May 10, 2023 · 2 comments

Comments

@Hirrolot
Copy link

I'm having a hard time understanding the generator code (src/Generator.hs). The code has a lot of manipulation with variables but only two small comments. In the paper I've found no explanation of it either. What is the operation of the generator, conceptually? How do we get an expression out of a graph?

@ilya-klyuchnikov
Copy link
Owner

In the paper I've found no explanation of it either

The main idea is explained in the paper in the section 6 "Folding".

You may want to take a look at

@Hirrolot
Copy link
Author

The main idea is explained in the paper in the section 6 "Folding".

But the folding algorithm must be located in src/Folding.hs, not src/Generator.hs, right?

Thanks for the link, will look into it.

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

No branches or pull requests

2 participants