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

synthesize legible programs #22

Open
2 tasks
KiaraGrouwstra opened this issue Feb 1, 2020 · 0 comments
Open
2 tasks

synthesize legible programs #22

KiaraGrouwstra opened this issue Feb 1, 2020 · 0 comments
Labels
nice-to-have synthesis features needed for program synthesis

Comments

@KiaraGrouwstra
Copy link
Owner

KiaraGrouwstra commented Feb 1, 2020

Right now my synthesis is designed toward simplicity in the grammar of constructed programs, primarily to simplify the machine learning bits and reduce the search space.

Humans like legible programs though.
Ideally, I would have a rewrite step transforming my synthesized programs for human consumption.

  • I think hlint would be my best starting point here. their hlint function handles the CLI functionality, e.g. taking an input file. if I wanted a nicer API, tough luck, internal functions they mostly don't expose. interestingly they do seem to use haskell-src-exts, as well as ghc-lib-parser?
  • pointfree.io looks fun but all I synthesize so far is point-free already
@KiaraGrouwstra KiaraGrouwstra added nice-to-have synthesis features needed for program synthesis labels Feb 1, 2020
This was referenced Feb 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nice-to-have synthesis features needed for program synthesis
Projects
None yet
Development

No branches or pull requests

1 participant